Unable To Find The Wrapper Https

Mar 28, 2006

I tried to include a php script that i downloaded to get me real time
money exchange rates, but it uses fopen() function and i get this
Fatal error: fopen(): Unable to find the wrapper "https" - did you
forget to enable it when you configured PHP?

so i found out that IIS is the problem and i need PHP 4.3+ and
OpenSSL(which i don't understand what it is or how to get it)
I tried to setup Apache 2 on my windows and use it instead of IIS, and
i setup Apache to use port 8080, but when i access any page in /htdocs,
The IE tells me that the page can't be displayed.

I want to know how to configure apache and how to run php scripts from
it (ofcourse after i configure the httpd.conf file to use php).

View 2 Replies


Fatal Error: Fopen(): Unable To Find The Wrapper "https" - Did You Forget To Enable It When You Configured PHP?

i have used a script that i downloaded and uses the
fopen($url,'r'); function to access a url to retrieve data and i get
this error

Fatal error: fopen(): Unable to find the wrapper "https" - did you
forget to enable it when you configured PHP?

i checked the 'allow_url_fopen = On' in php.ini and it is set to On,
and still it didn't work

View 5 Replies

Unable To Find The Wrapper "https"

I have an order form that goes to UPS and gets various prices for different shipping options. Here's the basic code that I use to do that:

PHP Code:

$xml = arbitrary_xml_building_function();
$stream_params = array(
'http' => array(


This works on the actual server, which is using PHP 5.2.13, but I've recently updated my development computer to PHP 5.3.2 and I get the following error:


Warning: fopen() [function.fopen]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?

View 6 Replies

Read An Https Web Page But Web Server Dont Support Https Wrapper?

read the content of a web page using php with this simple command:



As you can see the protocol is https.When i execute this commands i always get:
[function.file-get-contents]: failed to open stream:In other answer in stackoverflow some user suggest to use this code:

$w = stream_get_wrappers();
echo 'openssl: ', extension_loaded ('openssl') ? 'yes':'no', "";
echo 'http wrapper: ', in_array('http', $w) ? 'yes':'no', "";
echo 'https wrapper: ', in_array('https', $w) ? 'yes':'no', "


In order to know if my server have https wrapper, and the result was No.So, any idea of how can i retrive this https page using php? maybe with CURL any example code?

View 1 Replies

Unable To Find The Wrapper "feed"

I'm running into a issue that has brought a project of mine to a halt and I've googled over a couple days and haven't found anything that makes sense to me (this is my first PHP project). I'm using CodeIgniter and an RSSParser library that was available in the CI wiki. Everything is being called/loaded fine but I'm running into what I "think" is a stream wrapper problem. Here is a post [URL] I made on the CI forums for reference. Essentially the error that I am recieving is this:

Severity: Warning

Message: file_get_contents() [function.file-get-contents]: Unable to find the wrapper "feed" - did you forget to enable it when you configured PHP?

Filename: libraries/RSSParser.php

Line Number: 89

Here's another link to the source for 'RSSParser.php'

The problem code is below:

//Load the shiny new rssparse
$this->load->library('RSSParser',array('url' => 'feed://api.flickr.com/services/feeds/photos_public.gne?id=30842919@N04&lang=en-us&format=rss_200', 'life' => 2));
//Get six items from the feed


The reason I believe that this is happening is that "feed://" isn't registered as a PHP Stream and the RSS Parser is unable to find and retrieve the information that I am requesting from the feed. What I need help with is figuring out how to register the wrapper "feed://".

View 1 Replies

Authentication - CURL Unable To Retrieve Xml From (openssl) Https Address?

My task is to retrieve an xml from https://test24.highrisehq.com/tasks/upcoming.xml that is a secure connection and demands authentication. I am trying to achieve this using curl but I don't know why the username and password thing is not working for me. Here is my code:

$url = "https://test24.highrisehq.com/tasks/upcoming.xml";
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Accept: application/xml', 'Content-Type: application/xml'));
curl_setopt($ch, CURLOPT_USERPWD, "omayrakhtar@gmail.com:akhtar1234");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,true);
curl_setopt($ch, CURLOPT_CAINFO, "D:wampwwwxml-.highrisehq");
//curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,0);


The problem is that when I set VERIFYPEER to true I get nothing displayed on the browser and when it is set to false I get HTTP Basic: Access denied. Both curl and openssl are enabled. The credentials in the code are correct, if anyone wants to use it he is more than welcome.

View 1 Replies

Unable To Find A Provider With An API?

We are building a daily newsletter based on member preferences. The member can choose a city and some categories among a list of 10. Basically each email will be different. Each email is generated by our server. We are unable to find a provider with an API that can do that. Would you have any solution that ensure a 99% delivery.

View 3 Replies

Unable To Find Ini In XAMPP?

I downloaded a PHP script, copied at localhost and when I run it, it will not display all results instruction says that Globals should be off in PHP.ini and scripts should work while Globals are off.but I can't find php.ini in XAMPP. I tried

xampp/apache/bin but I didn't find php.ini

what should I do?

View 2 Replies

Unable To Find Php_domxml.dll Error

I have just finishing installing apache and PHP4. It is claiming that
it cannot find the php_domxml.dll file giving me the following error
when I go to load a page with dom xml function on it:

Unknown(): Unable to load dynamic library
'C:/php/extensions/php_domxml.dll' - The specified module could not be

I am convinced that the paths are correct as I have the following line
in php.ini:

extension_dir = "C:phpextensions"

The file, php_domxml.dll, is defininetely in the extensions folder.

View 1 Replies

Unable To Find Includes/dbsettings?

Recently i configured Wordpress blog in IIS... I works fine. and Now i try configure the another package(PHP)... it loads the Index page when click on any link it says ** unable to find includes/dbsettings.php**But the file is there in the location and someone said there is problem in path mapping php.ini file....i not PHP Dev..Same package my friend installed works fine for him.

C:Program FilesPHPphp.ini

View 1 Replies

Unable To Find Line Breaks?

I have this feed of classifieds that I need to convert to an .xml doc. I explode each string into an array (separated by a "|"). Everything work just fine except the string cuts off if there are any line breaks in the 5th section and everything after the break is skipped over and I lose that information.I've tried things like prep_replace & str_replace (looking for things like

char(10) char(13) &#65533; x0B), striptags, nl2br. I can't find these breaks and destroy them.

I'm attaching part of the text file that I'm using. I've had it open in Notepad and seen small squares where the breaks are, but that's the only place I've seen that. The first line in the text file is a complete string with no breaks and how the ideal feed would look, after that it hasn't been adjusted.

View 9 Replies

Variable Scope - Unable To Find Explanation On The Document?

i'm confused about the php variable scope.
such as:

$var = "yes , it is a test!";

the $var is defined in while statement scope , how could we get it outside it's scope ? and i can't find explanation on the document .i wonder how php deal with it's scope .

View 6 Replies

FPDF Error: Unable To Find Xref Table

I'm trying to generate a pdf file from html using dompdf0.6a and that works fine, but then i need to encrypt it for protection, but i get error

FPDF error: Unable to find xref table - Maybe a Problem with 'auto_detect_line_endings'

However if I use older dompdf versions it works fine. I guess it generates newer pdf version that fpdi doesn't support. btw. I traced it to FPDI/pdf_parser.php:208 (inside method pdf_read_xref())

View 2 Replies

Create Urlshortner But Unable To Find The Required Output?

I have created url shortner by using the link http:[url].....for this i am using EasyPhp5.3.6.0,,but i am not finding the required output,,that means after clicking shortened url it is not redirecting to the original page.Possibly i am thinking the issue is on database side.This is the steps which i did in database side.

First i went to Configuration->PhpMyAdmin link ,,Then i created Database named "leaf" here i didnt selected 'Collation' named dropdown i made table name as "team" with number of fields as "3" then i modified fields like shown below

**Field id url shortened**

Lenght/Values 255 10000 10000
Default None None None

Then i made 'id' as Primary Key.These are some part of php code where database handling going one
in sortner.php

$con = mysql_connect("localhost","root","");
if (!$con)
{ [code]......

My all files are under root folder(www) that means C:Program FilesEasyPHP- est

View 2 Replies

Fput Function (Warning: Unable To Find File Identifier 0 In)

I made a script for logging the emails that they send on my site. It works fine on windows 98 version, but when I upload it to a Linux computer it fails. Here are the first lines of the script:

$file = fopen("log/index.html", "a+");
$today = date("G:i, l jS Y");
if ($argv[0] == "contact"){
if ($name == ""){
fputs($file, "Text comes here";

Then the output is:

Warning: fopen("log/index.html","a+") - Permission denied in /home/jonathan/public_html/beftubbies/email.php3 on line 3

Warning: Unable to find file identifier 0 in /home/jonathan/public_html/beftubbies/email.php3 on line 30

View 4 Replies

Https Javascript And Firefox - Set Or Use To Make It Work On Https Site?

I have some javascript which calls some php functions to track webstats Everything works fine on http sites, from every browser it is all tracked I have one site that is https - it will track visits from ie, but not from Firefox or Chrome Does anyone know of anything I need to do or set or use to make it work on an https site? Here is the code that goes in the html - please let me know if you need anything else:


The piwik.js is pretty large but I don't know if it will help so I will refrain from posting it for now. I tried replacing their piwik.php with a simple file of my own that just writes a text file - this works from IE, from Firefox and Chrome it doesn't even create the file

$myFile = "testFile.txt";
$fh = fopen($myFile, 'w') or die("can't open file");
$stringData = "V3 Developer
fwrite($fh, $stringData);
$stringData = "Testing PHP
fwrite($fh, $stringData);

View 1 Replies

Https Post Or Https Soap To Access Xml Data?

curl to sumbit the username and password as post to and get the xml response back from https urls.How about soap xml web services on https?If xml web services is on https, and I create a soap client, and then sumbit my credentials through soap, would it be as secure as the https post?For example, something like that

$c = new SoapClient('


$result = $c->GetMembers(array('userName' => 'myname', 'password' =>


That would be the same as using https post to submit the username and password in terms of security?

View 8 Replies

Ubuntu - Unable To Find "extensions" Portion Of Php.ini File In Apache 2.0

I'm trying to add support for the GD extension on my Ubuntu, Apache 2, php box. However my php.ini file does not seem to be the same as most versions of the INI file and it appears that their are no ;extensions comments or a place holder for them. Where did this move to? Is their a new location or new method for adding extensions? I'm at a loss, I only found 2 php.ini files. One for Apache 2 and one for the command line interface. Ultimately I'm asking this question because the normal fix for the error Undefined offset: 1 in [...]images.php on line 50 Fatal error: Call to undefined function imagecreatefrompng() in [...]functions.php on line 309 does not work.

View 3 Replies

Unable To Find The Socket Transport "http"

When I'm running the bit of code below, I get this message:

Quote: Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?)

I wouldn't know how to troubleshoot this issue...

PHP Code:

$str = '';
$sock = fsockopen('http://www.site.com/', 80);
$req = "GET / HTTP/1.1


View 6 Replies

Unable To Find The Socket Transport "ssl"

Unable to find the socket transport "ssl" i am getting this error when i try to send mail through smtp.gmail.com? can anyone help me?

View 1 Replies

HTTPs - Block HTTP And Allow HTTPS

I have a PHP program that runs on Apache and connects to MySQL. The network administrator told me that they will block HTTP and allow HTTPS, will that cause a problem with my application? The administrator will install the certificates, do I need to change the code? The database is hosted on the same server too.

View 3 Replies

Echo Error - Unable To Find Error?

i have echo error.


echo '<li>';
echo '<div>';
echo '<div class="author-image">'; [code]....
where is error?

View 9 Replies

Fopen Url Wrapper

php 4.4.2
windows 2003 server
apache 1.3.x

scripts don't work :-P





[ Would assume this as well:
$content=file($x); ]

When I attempt to access a script on a certain Win2K3 server that
attempts to read a remote file using the fopen url wrappers, I get some
strange results:

Opera (nothing)
MSIE (cannot be reached page [browser default thing])
Firefox (prompt to download)

I sent a head request via lynx, and this is what I get (even after
turning off windows firewall):

Looking up example.com
Making HTTP connection to example.com
Sending HTTP request.
HTTP request sent; waiting for response.
Alert!: Unexpected network read error; connection aborted.
Can't Access `http://example/test.php'
Alert!: Unable to access document.

Everything that I thought of checking in both httpd.conf and php.ini seem to be just fine.

Does anyone have direction for troubleshooting this?

View 7 Replies

MySQL Wrapper Class

i need it for a current project, i just wondered whether someone here could point me to something like a "industry standard" mysql wrapper class (i.e. something like smarty for templates or snoopy for retrieving and parsing), except PEAR.

View 1 Replies

PDO Database Wrapper Class?

I want to use Database wrapper class , and i want to know which is the best database wrapper class and what extra functionality we can have , i had used this database wrapper class url

View 7 Replies

Why Make Database Wrapper

why should I need database wrapper for PHP. Like wrapper for MySQLi or PDO. It's class that calls PDO/MySQLi class.

View 4 Replies

Copyrights 2005-15 www.BigResource.com, All rights reserved