Re: [PHP] Problem with fopen and sending POST vars

2005-12-20 Thread Silvio Porcellana [tradeOver]
Barry wrote: Hello everyone! I have a problem sending POST vars via fopen. It was possible for me to send some xml data but that's all. Anyone know how to send POST vars? Big probleme here is also that i have to connect via SSL. cURL can be your friend... http://php.net/curl

Re: [PHP] Problem with fopen and sending POST vars

2005-12-20 Thread Barry
Silvio Porcellana [tradeOver] wrote: Barry wrote: I have a problem sending POST vars via fopen. It was possible for me to send some xml data but that's all. Anyone know how to send POST vars? Big probleme here is also that i have to connect via SSL. cURL can be your friend...

Re: [PHP] Problem with fopen and sending POST vars

2005-12-20 Thread tg-php
There are a couple examples of manually sending POST data via fsockopen() on: http://us2.php.net/manual/en/function.fsockopen.php Basically the stucture is the same as URL GET variables but you have to send the header data manually and set content-type to application/x-www-form-urlencoded.

Re: [PHP] Problem with fopen(...) - No error??

2004-11-06 Thread Jason Wong
On Friday 05 November 2004 22:04, Pankaj Kafley wrote: Can you be more specific ? I actually had the same sort of problem once but maybe it is not the same. But anyways I was getting null everytime until I change $_FILES variable to $HTTP_POST_FILES. As by suggested by someone else here. A

Re: Re: [PHP] Problem with fopen(...) -

2004-11-06 Thread P M
ring a bell to you? Thanks.. Arty -Original Message- From: Pankaj Kafley [EMAIL PROTECTED] To: Arty [EMAIL PROTECTED] Date: Fri, 5 Nov 2004 23:04:24 +0100 Subject: Re: [PHP] Problem with fopen(...) - No error?? Can you be more specific ? I actually had the same sort of problem once

Re: [PHP] Problem with fopen(...) -

2004-11-06 Thread Jason Wong
On Saturday 06 November 2004 19:33, P M wrote: Please do not top post. Well, since I'm using the latest version of the PHP plugin, it can't be that I'm using the $_FILES variable ($HTTP_POST_FILES is for older versions of php as far as I know). Nevertheless, I tried it.. and it didn't work.

[PHP] Problem with fopen(...) - No error??

2004-11-05 Thread Arty
I'm working against a table without problems, that is, as long as I insert and retrieve texts and numerical values from various fields. However, I'm also using a table for images, but I can't upload files correctly. This is the error I get : Warning: fopen(, r) - No error in

Re: [PHP] Problem with fopen(...) - No error??

2004-11-05 Thread Pankaj Kafley
Can you be more specific ? I actually had the same sort of problem once but maybe it is not the same. But anyways I was getting null everytime until I change $_FILES variable to $HTTP_POST_FILES. As by suggested by someone else here. Regards On Fri, 5 Nov 2004 21:08:17 +0100, Arty [EMAIL

[PHP] Problem with fopen()

2002-04-30 Thread Ben Turner
I am trying to complete an email application which will send messages to lists. Problem is, I am trying to write the messages out so that they will be available to a server application which actually sends the messages and does all the dirty work but I am getting the error that I cannot create

Re: [PHP] Problem with fopen()

2002-04-30 Thread Miguel Cruz
On Tue, 30 Apr 2002, Ben Turner wrote: I am trying to complete an email application which will send messages to lists. Problem is, I am trying to write the messages out so that they will be available to a server application which actually sends the messages and does all the dirty work but I

[PHP] Problem with fopen / url

2001-12-13 Thread Martin Leclair
Hi, I have a problem doing a fopen(http:///index.php,r;) on a particular server it's extreamly slow (about 2 minutes to get the content of a webpage on a server that pings at 1ms) on another server it's getting the content in less than 5 seconds (same script). Same URL, servers are side to

[PHP] Problem with fopen() when php is in safe_mode

2001-11-01 Thread Daniel Bergqvist
Hi! I'm having trouble with a script who should attach files to a mail. The script looks like this: ? include inc/mime_mail.inc; $mail = new mime_mail; $mail - from = $email; $mail - to = $to_email; $mail - subject = Testing; $mail - body = Testing;

RE: [PHP] Problem with fopen() when php is in safe_mode

2001-11-01 Thread Mark Roedel
-Original Message- From: Daniel Bergqvist [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 9:57 AM To: [EMAIL PROTECTED] Subject: [PHP] Problem with fopen() when php is in safe_mode if($dir = @opendir(/home/d5051/public_html/test)){ You're getting filenames