--- [EMAIL PROTECTED] wrote:
> Is it possible with php to submit to a remote form without the
> use of curl?
You can use fsockopen:
http://shiflett.org/hacks/php/http_post
If your version of PHP supports streams, you can use streams:
http://shiflett.org/hacks/php/streams_post
Hope that helps.
* Thus wrote [EMAIL PROTECTED]:
>
>
> Is it possible with php to submit to a remote form without the use of curl?
I'm assuming you want to POST a form verses a GET, since you can
easily do a GET form submission like:
$fp = fopen('http://domain.com/?get=var', 'r');
in PHP5 you can accomplish
[EMAIL PROTECTED] wrote:
Is it possible with php to submit to a remote form without the use of curl?
I am developing an application on a hosting server that does not have curl
available and I need to submit some values to a remote form.
Anybody ever do something like this without the use of curl?
Is it possible with php to submit to a remote form without the use of curl?
I am developing an application on a hosting server that does not have curl
available and I need to submit some values to a remote form.
Anybody ever do something like this without the use of curl?
Thanks,
Brent
--
Hello,
On 09/27/2004 09:02 PM, Roger Thomas wrote:
Just let me know which OS and local mailer (Sendmail, qmail, postfix,
exim, MS IIS, Exchange, etc..) do you use so I can advise.
What do you recommend for Linux and qmail combination ?
Please advise.
Under Linux qmail or postfix are just fine. Yo
I did read this and it did not resolve the problem
"Raditha Dissanayake" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> AMC wrote:
>
> >Hi,
> >
> >I changed the script to upload to a different directory but it still
doesn't
> >work, any ideas? I really appreciate the help.
> >
> >
AMC wrote:
Hi,
I changed the script to upload to a different directory but it still doesn't
work, any ideas? I really appreciate the help.
You are not the first person to run into problems with file uploads.
Quite a few of those who managed to overcome them posted their finding
at the link th
Ricardo Cezar wrote:
Hello all,
I want to put a instant messenger in a website. People connect to this
website to stay in touch with each other. There is a photo album for
everyone, a Forum, groups...
The IM must work like ICQ, MSN and other, but via web. Users of the site can
add other users to th
Quoting Manuel Lemos <[EMAIL PROTECTED]>:
> Just let me know which OS and local mailer (Sendmail, qmail, postfix,
> exim, MS IIS, Exchange, etc..) do you use so I can advise.
What do you recommend for Linux and qmail combination ?
Please advise.
--
roger
-
> 1) there is no need to fiddle with directory permissions to write images.
> 2) if the content is sensitive you have the added security of the database
> password (and the fact that the database is ususally not directly
> accessible).
> 3) a mysqldump gives a backup of all images along with other
John Nichel wrote:
Chris wrote:
if (is_dir($file) || ($file!=".") || ($file!="..")) continue;
That will match everything and anything, files and dot directories...
The first statement by the OP should work fine. All three will eval
to true if it is a directory, and the directory isn't . or ..
I hope that there are others out there that could weigh in on this topic please
The more information and perspective I have the better as it would
help me build the most informed decision as posible.
On Mon, 27 Sep 2004 23:49:33 +0100, Graham Cossey
<[EMAIL PROTECTED]> wrote:
> I'm no certi
I'm no certified expert, but preference would be storing a URL to an image
in the database rather than the image itself.
If however you do want to store them in the db try using a blob column type.
This article is PHP3 but shows the basics:
http://www.phpbuilder.com/columns/florian19991014.php3
I don't. I have used it on several projects. One caveat I would offer is
that this is much slower than one might think. Three possible advantages
come from using this approach:
1) there is no need to fiddle with directory permissions to write images.
2) if the content is sensitive you have th
On Mon, 27 Sep 2004 11:29:34 +0200, Nick Wilson <[EMAIL PROTECTED]>
wrote:
* and then raditha dissanayake declared
>>These counters are pretty much useless at gauging web traffic. you
would
>>be better off using log analysis tool.
>>
>>
>
>Who said anything about web traffic? ;-)
>
>
whic
I was wondering how to get images into and out of a Mysql database
with in php... I do not have anything in my book... but was told it
was possible.
I have PHP 4.3.4 and mysql 4.0.18
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Has anybody gained general experience with crosscompling PHP?
I want to run PHP on an axis devboard82 in combination with sqlite.
The crosscompiler is gcc-cris (cris-dist-1.56).
I appreciate any feedback, thanks,
Daniel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Has anybody gained general experience with crosscompling PHP?
I want to run PHP on an axis devboard82 in combination with sqlite.
The crosscompiler is gcc-cris (cris-dist-1.56).
I appreciate any feedback, thanks,
Daniel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Mike wrote:
hi!
I have a problem with the imagejpeg() function - or related. I must specify
that I'm a newbie with image handling with php and that a piece of advice
would really help me right now.
The deal is that I want to create a (smaller) resized copy of a certain
image using this code:
$vech
> hi!
> I have a problem with the imagejpeg() function - or related. I must
specify
> that I'm a newbie with image handling with php and that a piece of advice
> would really help me right now.
> The deal is that I want to create a (smaller) resized copy of a certain
> image using this code:
>
> $
On Mon, 27 Sep 2004 11:15:23 -0500, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Are their any specific php extensions or modules that I'd need in order to do
> something like this very easily?
You need PHP 5 and preferably the latest libxml2 release.
The dom extension of PHP 5 has XSD Schema
hi!
I have a problem with the imagejpeg() function - or related. I must specify
that I'm a newbie with image handling with php and that a piece of advice
would really help me right now.
The deal is that I want to create a (smaller) resized copy of a certain
image using this code:
$veche = imagecr
> Hello all,
>
> I want to put a instant messenger in a website. People connect to this
> website to stay in touch with each other. There is a photo album for
> everyone, a Forum, groups...
>
> The IM must work like ICQ, MSN and other, but via web. Users of the site
can
> add other users to the lis
Hello,
On 09/27/2004 05:41 PM, Jed R. Brubaker wrote:
But wouldn't that mean that the email that is being sent to my client would
be blank as well?
It depends on the actual cause of the mails being sent as blanks. The
class provides some workarounds to avoid some causes that may lead to
your pro
Implementing Jabber is probably his best bet. I believe there are a few php
based interfaces for it.
-Brent
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 27, 2004 4:01 PM
Subject: Re: [PHP] Website with a Instant Messenger
>
Actually, most of the times I encountered this "problem" was when I was
sending "complicated" mime email.
PlainText emails are built up of headers, and the plaintext message.
More complex emails use MIME to seperate multiple things, eg.
attachments, different versions of the text (some send bot
On Tuesday 28 September 2004 04:42, Ricardo Cezar wrote:
> I want to put a instant messenger in a website. People connect to this
> website to stay in touch with each other. There is a photo album for
> everyone, a Forum, groups...
>
> The IM must work like ICQ, MSN and other, but via web. Users o
Well, I think everybody starts there, including me! :)
I´m searching google...
But thanks
:)
"Jay Blanchard" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
[snip]
Where can I start?
[/snip]
http://www.google.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
[snip]
Where can I start?
[/snip]
http://www.google.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* Thus wrote Mark:
> I'm having a problem I haven't encountered before. I'm using PHP
> 4.3.4 (upgrading the 4.3.9, but humor me) on Windows.
>
> I'm using the following code snippet to try to get all the
> subdirectories of a directory into an array.
>
> $maildir=MERCURY."/MAIL";
> $handle=o
--- Jason Wong <[EMAIL PROTECTED]> wrote:
> On Tuesday 28 September 2004 03:54, Mark wrote:
>
> > With the echos above in place, I get the resource handle, and it
> > echos everything you would expect except that is_dir() fails to
> > recognize the directories.
>
> Because is_dir() expects a pa
Hello all,
I want to put a instant messenger in a website. People connect to this
website to stay in touch with each other. There is a photo album for
everyone, a Forum, groups...
The IM must work like ICQ, MSN and other, but via web. Users of the site can
add other users to the list, and when pe
But wouldn't that mean that the email that is being sent to my client would
be blank as well?
"Manuel Lemos" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> On 09/27/2004 12:27 PM, Jed R. Brubaker wrote:
>> I have run into a problem with my email class. A bunch of recie
Mark wrote:
--- John Nichel <[EMAIL PROTECTED]> wrote:
Chris wrote:
if (is_dir($file) && ($file!=".") && ($file!="..")) {
$users[]=$file;
}
It's only adding it to the array if all 3 of those are true. and
since
$file can't be both '.' and '..' at the same time, it's never
matching.
I'd d
--- Jason Wong <[EMAIL PROTECTED]> wrote:
> On Tuesday 28 September 2004 03:54, Mark wrote:
>
> > With the echos above in place, I get the resource handle, and it
> > echos everything you would expect except that is_dir() fails to
> > recognize the directories.
>
> Because is_dir() expects a pa
Someone sent you a link earlier to a php page explaining how to upload files. I think
that you will find as you read that page that you are missing SOME HTML in the way you
build your form. If in doubt, try to copy and paste from that page exactly to see if
it works!
DW
--- John Nichel <[EMAIL PROTECTED]> wrote:
> Chris wrote:
> >if (is_dir($file) && ($file!=".") && ($file!="..")) {
> > $users[]=$file;
> >}
> >
> > It's only adding it to the array if all 3 of those are true. and
> since
> > $file can't be both '.' and '..' at the same time, it's n
On Tuesday 28 September 2004 03:54, Mark wrote:
> With the echos above in place, I get the resource handle, and it
> echos everything you would expect except that is_dir() fails to
> recognize the directories.
Because is_dir() expects a path to the file as well, otherwise it would be
trying to l
Hi,
I changed the script to upload to a different directory but it still doesn't
work, any ideas? I really appreciate the help.
http://schemas.microsoft.com/intellisense/ie5";>
Browse for file to upload:
"Mike" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTE
Chris wrote:
if (is_dir($file) && ($file!=".") && ($file!="..")) {
$users[]=$file;
}
It's only adding it to the array if all 3 of those are true. and since
$file can't be both '.' and '..' at the same time, it's never matching.
I'd do something like:
if (is_dir($file) || ($file!=".") |
if (is_dir($file) && ($file!=".") && ($file!="..")) {
$users[]=$file;
}
It's only adding it to the array if all 3 of those are true. and since $file can't be
both '.' and '..' at the same time, it's never matching.
I'd do something like:
if (is_dir($file) || ($file!=".") || ($file!=".."
Mike wrote:
the resizing part goes well; I don't really know what the imageinterlace
function does, but I used it in desperation. Why: the output image's quality
is visibly inferior to the source's. And I want the image to look good. The
source is a jpeg (dinamic). As you probably have noticed,
I tried that function too, but the same result...
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Tuesday 28 September 2004 02:16, Mike wrote:
>
>> What i'd like to know is whether php can output some quality jpegs, and
>> if
>> so, then how?
>
> imagecopyresampled()
I'm having a problem I haven't encountered before. I'm using PHP
4.3.4 (upgrading the 4.3.9, but humor me) on Windows.
I'm using the following code snippet to try to get all the
subdirectories of a directory into an array.
$maildir=MERCURY."/MAIL";
$handle=opendir($maildir);
// echo $handle;
[snip]
What I would like to do is create a list at the top of each page that
tells the path to the file starting at the root page and links to that
same area so that a document residing in
/webroot/folder1/folder2/file.html
would have
Home > Folder1 > Folder2>
at the top of the page.
What's th
On Tuesday 28 September 2004 02:16, Mike wrote:
> What i'd like to know is whether php can output some quality jpegs, and if
> so, then how?
imagecopyresampled()
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet &
I don't know if I'm right, but ckeck this out:
the echo $_FILES['file']['name'] variable holds the file name on the
computer that uploads the file. and in one place you try to move the
uploaded file from the temp folder back into the folder where it came from.
I suggest you create a new folder o
On Tuesday 28 September 2004 03:15, PHP Junkie wrote:
> In one of my scripts, I'm getting the error:
Use mysql_error() after every call to the mysql_*() functions.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet
What I would like to do is create a list at the top of each page that
tells the path to the file starting at the root page and links to that
same area so that a document residing in /webroot/folder1/folder2/file.html
would have
Home > Folder1 > Folder2>
at the top of the page.
What's the BEST wa
[snip]
In one of my scripts, I'm getting the error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /Library/WebServer/Documents/limiteduse.net/dumptoday.php on
line 56
I¹m not clearly sure why. I¹m running PHP5 with mySQL 4 ... Is there a
compatibility issues
Hi all,
Noticed a strange problem when I was testing a time stamp to make sure it was all
numbers. After an hour of debugging, I traced the problem to the ctype_digit funciton.
CODE:
END OF CODE
When I run the above code, my apache server performs an illegal operation and shuts
down. It will
Generally you've got an error in your SQL at such points. If you do,
mysql_query return false, and false is nor a valid MySQL result, so
mysql_num_rows errors out.
Check using mysql_error() to see what you're doing wrong
Php Junkie wrote:
Ave,
In one of my scripts, I'm getting the error:
Warning
Ave,
In one of my scripts, I'm getting the error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /Library/WebServer/Documents/limiteduse.net/dumptoday.php on
line 56
I¹m not clearly sure why. I¹m running PHP5 with mySQL 4 ... Is there a
compatibility issues
[snip]
Here is a script I'm using to upload files. Can anyone see anything
wrong
with it? No file is uploaded when I click the upload button
[/snip]
Start here http://us4.php.net/manual/en/features.file-upload.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
Hi,
Here is a script I'm using to upload files. Can anyone see anything wrong
with it? No file is uploaded when I click the upload button
http://schemas.microsoft.com/intellisense/ie5";>
Browse for file to upload:
--
PHP General Mailing List (http://www.php.net/)
> -Original Message-
> CODE:
> print ctype_digit( 1094164380 );
> ?>
> END OF CODE
>
> When I run the above code, my apache server performs an illegal operation
> and shuts down. It will keep doing this every 20 seconds or so until you
> restart/stop the server manually. Does anyone else
56 matches
Mail list logo