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).
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:
Message: file_get_contents() [function.file-get-contents]: Unable to find the wrapper "feed" - did you forget to enable it when you configured 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
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://".
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:
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.
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.
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
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.
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) � 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.
I have created url shortner by using the link http:[url].....for this i am using EasyPhp188.8.131.52,,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
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
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
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.
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.
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.