zell11
-
Posts
8 -
Joined
-
Last visited
Never
Posts posted by zell11
-
-
Hey there,
I am having a problem when I am using curl_exec. When i try and send a request using it all it does is come up and page asking me to save the php file that was user to call it. Does anyone know what could cause this?
Thanks
-
if you are using shared hosting ie the one you pay to hold your website on that you don't own. You will have to talk to your hosts. Some hosts allow you to add a php.ini file into your dir which changes the settings for that dir. Also I agree with kenrbnsn try and keep away from registered globals as much as you can as they can be very risky
-
yeah desc should work
$sql = "SELECT * FROM repair ORDER BY id DESC;";
if that doesn't work then maybe
1. you are overwritting it somewhere before you excute ot.
2. are you sure it's ID you want to sort by and that yu are thinking it hasn't worked due to it still not being in any noticeable order
-
you could use ajax, Ajax allows you to just reload the frame andd not the whole page. That means you can wrap a div layer around your content and change it to how you see fit
-
‰PNG IHDR���`���x���7Óe
Fatal error: imagepng() [<a href='function.imagepng'>function.imagepng</a>]: gd-png: fatal libpng error: Invalid number of colors in palette in
Does anyone know what causes this error?
Thanks
-
Post you headers so we can see if they are getting set-up ok.
-
Hey,
Is there a way you can add your pre-made images with GD Lib to create another image. Say you have 5 images and you want to over lap them etc, is it possible and if so how do you do it
Thanks
curl_exec() causing browser asking to save php file
in PHP Coding Help
Posted
$ch = curl_init();
curl_setopt ( $ch, CURLOPT_URL, $this->config->get( "Configuration.host" ) );
curl_setopt ( $ch, CURLOPT_POST, true );
curl_setopt ( $ch, CURLOPT_POSTFIELDS, $xmldoc->getDocument() );
curl_setopt ( $ch, CURLOPT_HTTPHEADER, array('Expect: ') );
// Save the response in the response variable
//
$this->response = curl_exec($ch);
$this->errno = curl_errno ($ch);
$this->err_str = curl_error ($ch);
$this->curl_getinfo = curl_getinfo($ch);
sorry bout the long time before i replied