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
error:
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).

ADVERTISEMENT

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

Mar 28, 2006

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 View Related

Unable To Find The Wrapper "https"

Mar 16, 2010

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(

[code]..

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:

Quote:

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

View 6 Replies View Related

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

Nov 20, 2010

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

$pagina=

[URL]...

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', "

[code]...

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 View Related

Unable To Find The Wrapper "feed"

Mar 23, 2011

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:

<?php
//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

[Code].....

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 View Related

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

Jul 7, 2011

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);

[Code]...

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 View Related

Unable To Find A Provider With An API?

Jul 22, 2010

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 View Related

Unable To Find Ini In XAMPP?

Nov 26, 2010

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 View Related

Unable To Find Php_domxml.dll Error

Jul 17, 2005

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
found

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 View Related

Unable To Find Includes/dbsettings?

Aug 23, 2010

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:WordPressphpphp.ini
C:Program FilesPHPphp.ini
C:WINDOWSphp.ini

View 1 Replies View Related

Unable To Find Line Breaks?

Jun 4, 2009

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 View Related

Variable Scope - Unable To Find Explanation On The Document?

Apr 12, 2011

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

while(true){
$var = "yes , it is a test!";
}
printf($var)

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 View Related

FPDF Error: Unable To Find Xref Table

Dec 29, 2009

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 View Related

Create Urlshortner But Unable To Find The Required Output?

May 28, 2011

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**
Type INT VARCHAR VARCHAR

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-5.3.6.0www est

View 2 Replies View Related

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

Jan 9, 2000

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";
fclose$file);}

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 View Related

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

Jul 27, 2009

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:

[Code...]

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);
fclose($fh);

View 1 Replies View Related

Https Post Or Https Soap To Access Xml Data?

Apr 20, 2010

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('

[URL]...

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

[code]...

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

View 8 Replies View Related

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

May 9, 2011

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 View Related

Unable To Find The Socket Transport "http"

Jan 28, 2009

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

[code]....

View 6 Replies View Related

Unable To Find The Socket Transport "ssl"

Jan 10, 2007

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 View Related

HTTPs - Block HTTP And Allow HTTPS

Jun 17, 2007

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 View Related

Echo Error - Unable To Find Error?

Jun 5, 2011

i have echo error.

code;

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

View 9 Replies View Related

Fopen Url Wrapper

Feb 21, 2006

system:
php 4.4.2
windows 2003 server
apache 1.3.x

problem:
scripts don't work :-P

description:

$x='http://exmaple.com/file.txt'

Either:
$content=file_get_contents($x)

Or:
$fp=fopen($x,'r');

[ 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 View Related

MySQL Wrapper Class

Apr 13, 2007

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 View Related

PDO Database Wrapper Class?

Mar 14, 2011

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 View Related

Why Make Database Wrapper

Feb 9, 2011

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 View Related

CURL Wrapper That Can Be Extended Upon?

Aug 21, 2010

Specifically I am looking for a good OOP PHP CURL class that can be extended to maybe have multi threads and proxy support.

View 1 Replies View Related

SSH/ SFTP/ FTP Wrapper Around Pfsockopen()?

Feb 11, 2010

Does anyone know a SSH/ SFTP/ FTP wrapper class around pfsockopen();?? I'm still on my quest to keep persistent connections in PHP.

View 5 Replies View Related

Make A Singleton Wrapper For PDO?

Apr 21, 2010

How can I make a singleton of the PDO extention? Extending doesn't work, because I get a fatal error when I try it ...

View 1 Replies View Related

Div Wrapper Grow With Img Size?

Oct 24, 2010

How can div wrapper grow with img size?

<div style="width:900px;">
<div style="width:100%;">
<div>some text......</div>[code]...

View 3 Replies View Related

DOMDocument SaveHTML Without HTML Wrapper ?

Feb 2, 2011

I'n the function below, I'm struggling to output the DOMDocument without it appending the xml, html, body and p tag wrappers before the output of the content. The suggested fix...

$postarray['post_content'] = $d->saveXML($d->getElementsByTagName('p')->item(0));

Only works when the content has no block level elements inside it. However, when it does, as in the example below with the h1 element, the resulting output from saveXML is truncated to...

<p>If you like</p>
[code]....

View 2 Replies View Related

Are SAP's BAPI APIs Propritary, Or Just A Wrapper For Something Else?

Oct 8, 2009

So, I've just been dumped into the middle of a project involving SAP. Specifically, I need to use SAPs BAPI APIs to pull a bunch of information out of "The Client's" SAP system. Given that SAP is a closed platform, I've been having trouble finding a high level overview of the who/what/where/when/how of SAP and BAPI. Specifically

Is BAPI just a wrapper for SOAP and/or XML-RPC, or is it a completely proprietary communication format?Is there a PHP extension or library for working with these APIs?I've seen the acronym ABAP thrown around. What does it mean, and where does it fit into things?At this point I'm looking for good resources that can give me the 10,000 foot view. I realize you could spend a lifetime working with these ERP system and still not understand the whole thing. I just want a basic overview so I can talk to "The Client's" SAP folks and not sound like a complete newb.

View 3 Replies View Related

Image - Porting GD Wrapper To Imagick?

Apr 28, 2011

I've recently discovered that Imagick can support color profiles and thus produce images of better quality compared to GD (see this question / answer for more details), so I'm trying to port my GD wrapper to use the Imagick class instead, my current GD implementation looks like this:

function Image($input, $crop = null, $scale = null, $merge = null, $output = null, $sharp = true)
{
if (isset($input, $output) === true)
{
if (is_string($input) === true)
{
$input = @ImageCreateFromString(@file_get_contents($input));
}
if (is_resource($input) === true)............

View 3 Replies View Related

Search Div And Add Wrapper Container Divs

Dec 9, 2010

In PHP I want to search div and the images coming inside div need to add wrapping divs, like

<div id="div1"><img src="test1.jpg" /></div><div id="div2"><img src="test1.jpg" /><img src="test2.jpg" /></div>

Whatever images are coming inside <div id="div2"> I need to reformat, like

<div id="div2"><div id="imageContainer"><img src="test1.jpg" /></div><div id="imageContainer"><img src="test2.jpg" /></div></div>

View 2 Replies View Related

Build Repairing Stream Wrapper?

Jun 24, 2011

I need to repair parts of an XML-Document which is coming in from the internet on the fly, mean I'm using a stream an can't wait until the whole document is loaded because the file is too large and I didn't got that much time So I thought about using a stream wrapper but I'm kinda stuck how to implement it, in fact I didn't find a clue on implementing the stream_read() and so on -Methods.

View 1 Replies View Related

Mcrypt Aes Encryption Wrapper Safe?

Jan 5, 2011

There are two keys , the main is aes128, second is XTEA used just for randomization of data inside the aes. Randomization is done with secret random key that is not know even if someone knows exactly what is encrypted. Also the key is produced by doing hash many number of times and this hash is salted with the iv so it is not possible to make a dictionary attack with precomputed hashes.

[code]...

I'm not that learned in all this to read rfc's and make algs out of it. I'm also constrained to methods that are precompiled in core php binary as I want these metods to be able to run on remote servers.

View 2 Replies View Related

Finding A CURL Wrapper Class?

Jun 15, 2010

I need recommendations for an established and maintained cURL wrapper library/class to use with cURL in Php.

View 2 Replies View Related

MySQLi Wrapper With Prepared Statements?

Oct 22, 2009

I want to use prepared statements for my db calls, but was wondering if anyone knew of a wrapper or subclass for mysqli to make my code a little more manageable.

View 8 Replies View Related

Conditional - Get An Extra UL Wrapper If My LevelMarker = 4?

Oct 2, 2009

I'm trying to get an extra UL wrapper if my levelMarker = 4; I tried a isset, but couldn't get it to work, and a ternary if gave me weird code? Right now output looks like this:

HTML Code:
...
<ul class='level3'><li><a class="parent" href="#">PR Lighting</a>
<li><a href='prl-ar.php'>Architectural</a></li>
<li><a href='prl-cp.php'>Centerpieces</a></li>[code]..........

View 7 Replies View Related

Web Service Construction Toolkit / Wrapper?

Dec 28, 2009

I am developing a number of Web Applications and CMSes - and have old ones - that I would like to enrich with a RESTful API: The possibility to programmatically access library functions like, say, creating pages, moving them, deleting them, querying content, the things that an API does. What I am looking for is some kind of a web service construction kit, PHP based, that co-exists with an existing web application and provides the entire skeleton for a REST based web service with all the standard operations, and everything else important: Error handling, possibly authentication, etc.

Say, my web application has a class $address and the methods add($id), edit($id), delete($id), reassign($id), reassign($id, $user) and make_standard($id)`. The construction toolkit would allow me to create a, I don't know the right name, let's call it case, named "address", and register the abovementioned methods. The toolkit would then do all the magic necessary for me to make a call like (pseudo-code):

[URL]

In my wet dreams, such a framework would also auto-generate documentation for the services it provides from the API functions and paramters it has defined, and some phpDoc blocks. Everybody can dream, right? The framework would have to be very unobtrusive which is why I'm shying away a bit from using a full-blown framework that brings along the functions I need as a sub-set. I might end up with one of them, but I'd really prefer a specialized, lightweight application for this purpose.

View 3 Replies View Related

Joomla - Implement A Site Wrapper ?

Jan 12, 2010

I just saw joomla's built in component, the wrapper (or was that a module, can't recall). IT is a page where you can show another website(while being in your site). What is the logic behind this? on how to implement this in PHP (I don't know where to start)?

View 2 Replies View Related

400 Bad Request On Apache AddHandler Wrapper?

Dec 2, 2010

I'm trying to create a wrapper/handler that will be called on the Apache server whenever someone requests any PHP script inside of a directory. That way I can authorize users for the entire directory or write some other stuff to be called when the directory is called.This is the best configuration I've been able to come up with...

<Directory "/srv/http/INNOV/PUBLIC_HTML">
Options -Indexes
[code]....

View 1 Replies View Related

Wrapper For Interacting With LabManager SOAP API?

Nov 3, 2009

I am attempting yo use a SOAP wrapper built for PHP, but I am having some issues with it. The wrapper is found at, [URL]..... There's not much to the script, but im just getting a white screen.I hink it has to do with some configurationvalues it needs. I have listed them below in hows that someone has used vmware and knows what i need.To give a little background on the project, VMware is installed on Server A. I am using phLabManager from a directory on Server B.1. I assume the hostname is that of Server A? omething like http://147.34.xxx.xxx/ correct?2. Is username, password that of the server, or the users vCenter ogin?rganisation_name" and "workspace_name" are a litle confusing. When in LabManager and clicking on the Workspace link it shows my Workspace name as ITGO-TTS / Main, but i have no Organisation Name. Now if i click on VM Templates link, I now have an Organisation as ITGO-TTS, but no Workspace Name. Where do i get these values?4. GetConfigurationByName() should this be set to either a Template Name or Workspace -> Configuration Name right?

View 1 Replies View Related

Create ZIP File With Fopen() Wrapper?

Apr 11, 2011

How can you create a ZIP file using the fopen() wrapper? This is obviously not the way:

<?php
if( class_exists('ZipArchive') ){
[code].........

View 1 Replies View Related

Write A Database Wrapper Class?

Apr 8, 2009

I am writing a database wrapper class.I would like an opinion on the following issuewould you like to access the `name` column in the table `user` for row in which primary key =10 as

$name =$db->user[10]->name;      //square brackets
or
$name =$db->user(10)->name;

View 1 Replies View Related

ADVERTISEMENT