I'm trying to using cURL to send a Post variable and through a proxy server. I know how to send requests through a proxy server or how to do post variables. I tried to combine them, but it doesn't work. The code I'm posting work as it should if I comment out either the proxy or the two post lines, but not as is.
[PHP]
$ch = curl_init("http ://mysite.com");
curl_setopt($ch , CURLOPT_RETURNT RANSFER, 1);...
User Profile
Collapse
-
cURL Post through proxy
-
AVI dimensions via PHP
If I have an .avi file is it possible for php, anything else too but hopefully php, to read the dimensions of the video file. In case anyone is wondering why, I'm trying to embed them using DivX web player with a standard width of 640, but this needs both dimensions, doesn't auto adjust. I know how to read the dimensions of the file when it's on my computer, but I change the video file frequently and this would be a lot easier, that's for the he... -
I google that and found it, more or less understood what you meant. Thanks. -
-
Send terminal command in program
I remember there is a way to send a terminal command inside a C program, but I forget how. I've tried googling for it but no success. -
I have no SMTP settings configured and the script works, I know that's don't the problemLeave a comment:
-
I get no error msgs, just no e-mail. I'm off of Windows XP. I don't have any other mailing system/server and haven't tested anything, I don't know how....Leave a comment:
-
Starting to use SQL
Hey, I'm really interested into using SQL via PHP, anyone got any good tutorial links? -
Mail() not working
I've used mail() before and I tested my code on another server, it's not my code, it's my server. Once again I figured this would be automatically configured since it has plenty of default settings. I'm running Apache 2.0.59 with PHP 5.2.1, the only configuration change I've done is remove the comments in front of all the extensions in the php.ini file. -
Code:<input type="text" name="variable" value="<?php echo $value; ?>"/>
Leave a comment:
-
Add this near the other header line and using $filename accordingly, note the single and double quotations if you're editing it.
Code:header('Content-Disposition: attachment; filename="' . $filename . '.doc"' );
Leave a comment:
-
extension_dir = "./ext"
That and uncommenting the
extension=php_g d2.dll
I figured it was "stock" going to work. Thank you Atli for your persistence, otherwise I probably would of tried reinstalling everything and came back to here.Leave a comment:
-
I'm using Windows, I tried using the installer, but it didn't seem to work so I left the files it made and used the zip version to include everything else. I checked my ext directory and the php_gd2.dll file is there.
Don't know if it help but you can check this out:
PHP InfoLeave a comment:
-
That line wasn't there, I tried just adding it, but that didn't work. I'm using apache only and did a restart. I have no idea what's wrong.Leave a comment:
-
Not unless it's included in the standard full installation, how would I do that?...Leave a comment:
-
Problem with png image
I had no problem with this code on my school's server, but when I moved it to mine it didn't work at all. Before it would make an image and display the text where I wanted it to, but now if Firefox all it does it display the full URL of the php file and IE displays a lil blank image box. I'm not sure what version the old server had, but mine has php 5.2.1. I copied over the whole folder, it's not like I'm missing a file there, but I'm wondering if... -
I've found
ECHO G=FFFF:0000 ¦ DEBUG
to restart any version of DOS I've usedLeave a comment:
-
-
-
No activity results to display
Show More
Leave a comment: