Dear All,
I write a php scripts to use the function of fsocketopen to gather some
data on the web, everything is perfect when I test the scripts on the apache
server installed in my pc. But when I upload the codes to the server I
hosted, I always got a time out error, even after I enlarge the
Hi , guys
How can I POST a submit to a webserver and get the response content in PHP script?
And if it must use CURL how can i add this module?
i configure PHP without --with-curl ,:(
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Monday 08 December 2003 13:23, David wrote:
I write a php scripts to use the function of fsocketopen to gather some
data on the web, everything is perfect when I test the scripts on the
apache server installed in my pc. But when I upload the codes to the server
I hosted, I always got a
Hi all,
I was wondering, if there's any way to achieve 'goto label:' using PHP
Thanx for ur time
Nitin
[snip]
I was wondering, if there's any way to achieve 'goto label:' using PHP
[/snip]
Are you trying to go to a section of code to perform some operations on
current variables? If so use functions
http://us3.php.net/manual/en/ref.funchand.php . If you have some sort of
decisive mechanism use
Hello,
anyone knows PHP-source(functions) for predict satellites (NORAD SGP4/SDP4)?
Greetings,
Tobias
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I need some consulting assistance with a project. Complete information
about what I need is on this page -
http://www.briandunning.com/php-help.shtml
THANK YOU!!!
- Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for the help, everyone.
-John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- leon [EMAIL PROTECTED] wrote:
How can I POST a submit to a webserver and get the response content
in PHP script?
You can do it manually:
http://shiflett.org/hacks/php/http_post
Other options are cURL and various PEAR classes.
Hope that helps.
Chris
=
Chris Shiflett -
Chris Mach wrote:
Greetings,
I'm working on a project that involves a password protected area of a
website. Some one also involved brought up the point that this area should
be secure (Whit the lock icon indicating it is encrypted).
In this particular project the password protected area will be a
Dan McCullough wrote:
Just wanted to see if this was correct. To me this is saying that /tmp
cannot be written to as there is no space left on device.
Warning: Unknown(): write failed: No space left on device (28) in Unknown on
line 0
Warning: Unknown(): Failed to write session data (files).
Purpleonyx schrieb:
Greetings all, I ran into a problem today and was
hoping someone could provide an answer.
I am fetching a web page, and attempting to parse
certain variables from it. I've done this plenty of
times in the past with no problem. The only
difference this time is the file that I
php-general Digest 8 Dec 2003 17:10:00 - Issue 2461
Topics (messages 172139 through 172155):
Re: getimagesize() MySQL Image Storage (Running functions on contents of variables)
172139 by: Tom Rogers
Re: Not able to execute Linux binary
172140 by: Jason Wong
172141
Shaun schrieb:
Ajai Khattri [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Sat, Dec 06, 2003 at 07:46:07PM -, Shaun wrote:
I have installed PHP and Apache but when i try to view a PHP file i.e.
http://127.0.0.1/hello.php i get a dialog box asking me if i want to
open or
save
I am using Fedora Core 1 and I downloaded the php
source(php-4.3.3-6.src.rpm).
If I add
--with-interbase=shared,/opt/firebird/lib/
I get the error that it cannot find libgds or libib_util.
libib_util.so is in /opt/firebird/lib/. There is no libgds after
installing Firebird.
What am I missing?
Hi Everyone!
Looked up on the manual about the chmod() function for PHP, nice but it
wouldn't work if the ownership file permission is set, so that bring up a
question. How do I view the file permission or folder permission to see if
it have the neccessnary permission before proceeding.
On Tuesday 09 December 2003 02:19, Scott Fletcher wrote:
Looked up on the manual about the chmod() function for PHP, nice but it
wouldn't work if the ownership file permission is set, so that bring up a
question. How do I view the file permission or folder permission to see if
it have
Looked up on the manual about the chmod() function for PHP, nice but
it
wouldn't work if the ownership file permission is set, so that bring up
a
question. How do I view the file permission or folder permission to see
if
it have the neccessnary permission before proceeding. That
Im storing a lot of user-entered data in XML files but i have a problem
with folks submitting stuff just by copying and pasting from microsoft
word. Smart Quotes and other awkward text then gets submitted and ruins
the xml, meaning i am searching and replacing item by item to replace
stuff.
Does
Hello,
On 12/08/2003 04:37 PM, Russell P Jones wrote:
Im storing a lot of user-entered data in XML files but i have a problem
with folks submitting stuff just by copying and pasting from microsoft
word. Smart Quotes and other awkward text then gets submitted and ruins
the xml, meaning i am
Playerfr [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I am using a PHPBB to have forum and site in php and i need a little
script
, can i request it here or do you know an otehr group where i can request
it.
Thnaks
If it is a script relating to the forum, you can find many
Eric Bolikowski [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
ini_set('max_execution_time', '3600');
Thankyou very much, it works fine now! :o)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greetings!
Is there a way to have PHP write an HTML file? What I would like to do is
have a user fill out a form, then have the information write an HTML file
and then save the file either for the first time, or overwrite the existing
one.
I hope this makes sense. Can anyone help?
--
Steve
Steve Marquez mailto:[EMAIL PROTECTED]
on Monday, December 08, 2003 12:28 PM said:
Greetings!
Hi.
Is there a way to have PHP write an HTML file?
Yes. Start here http://us2.php.net/manual/en/function.fwrite.php.
Chris.
--
Don't like reformatting your Outlook replies? Now there's relief!
--- Steve Marquez [EMAIL PROTECTED] wrote:
Is there a way to have PHP write an HTML file?
Sure. This is no different from writing any other file.
If you want it to write a file instead of outputting the content, a
convenient way (my opinion) of doing this is to use ob_start() at the top
of your
I am setting up a Soekris box (256MB CF card) that needs a newer PHP with
mySQL support.
I followed some instructions I googled and finally got a v4.1.2 of PHP that
has mysql working even though phpinfo() says '--without-mysql' (?!). But
this is a pretty old version of PHP.
I do NOT need the
Hi
I have problems with a regular expression.
I have a html file like this:
body
divHello/div
br
br
divsomthing/div
br
/body
And i want to use preg_match to get a list of all the div tags in the
file:
result:
$list[0] = divHello/div
$list[1] = divsomthing/div
I have tryed this:
Hi
I have problems with a regular expression.
I have a html file like this:
body
divHello/div
br
br
divsomthing/div
br
/body
And i want to use preg_match to get a list of all the div tags in the
file:
result:
$list[0] = divHello/div
$list[1] = divsomthing/div
I have tryed this:
Um, not sure what this meant with the fileperms() function. I have file
permission as -rw-r--r-- or 644 and when using hte fileperms() funciton,
it spitted a result as 33188. If you know what it is then I'm all ear!
Don't know what the hell is 33188 stand for, so will stick to easier
functions,
Um, not sure what this meant with the fileperms() function.
I have file
permission as -rw-r--r-- or 644 and when using hte
fileperms() funciton,
it spitted a result as 33188. If you know what it is then
I'm all ear!
33188 (base 10) == 0x100644 (base 8).
--
PHP General Mailing List
What's the function for converting it to base 8 ???
Thanks
Roger B.A. Klorese [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Um, not sure what this meant with the fileperms() function.
I have file
permission as -rw-r--r-- or 644 and when using hte
fileperms() funciton,
Alright found it. it is base_convert, just use ...
--snip--
echo base_convert($filename,8,10);
--snip--
Cheer!
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
What's the function for converting it to base 8 ???
Thanks
Roger B.A. Klorese [EMAIL PROTECTED]
Hi, I am a MD, involved in a very large medical project that requieres a strong
database plataform, the project must be .NET , the estimated transactional movement
is about 40 on line users accesing a DB with a 200 relational tables. The policy is
to program this SW in three layer design,
Fred wrote:
Hi
I have problems with a regular expression.
I have a html file like this:
body
divHello/div
br
br
divsomthing/div
br
/body
And i want to use preg_match to get a list of all the div tags in the
file:
result:
$list[0] = divHello/div
$list[1] = divsomthing/div
I have tryed
Ryotaro Ishikawa Md wrote:
Hi, I am a MD, involved in a very large medical project that requieres a strong database plataform, the project must be .NET , the estimated transactional movement is about 40 on line users accesing a DB with a 200 relational tables. The policy is to program this SW in
Good afternoon, all!!
Is there a function or series of functions in PHP that will allow a PHP
package to read email from a sendmail account, look for a specific
information in the subject line, then be able to resend that email to a
group of users?? I know mail can be used to send email
Robin Kopetzky wrote:
Good afternoon, all!!
Is there a function or series of functions in PHP that will allow a PHP
package to read email from a sendmail account, look for a specific
information in the subject line, then be able to resend that email to a
group of users?? I know mail can
Hi there
I have a database called Eric and table name called Rocket'.
Table consists of three values.
PARTNO | DESCRIPTION | COMMENT
So far if i want to show copper headgaskets from the 5r field i put this
string into the php script (along with the rest of the html/php code)
$sql = SELECT *
Eric Holmstrom wrote:
Hi there
I have a database called Eric and table name called Rocket'.
Table consists of three values.
PARTNO | DESCRIPTION | COMMENT
So far if i want to show copper headgaskets from the 5r field i put this
string into the php script (along with the rest of the html/php
Okay i have this so far
---
?php
$conn = mysql_connect(localhost, , );
mysql_select_db(ERIC,$conn);
$sql = SELECT * FROM rocket;
$result = mysql_query($sql, $conn) or die(mysql_error());
while ($newArray = mysql_fetch_array($result)) {
$partno =
Hello,
On 12/08/2003 07:42 PM, Ryotaro Ishikawa Md wrote:
Hi, I am a MD, involved in a very large medical project that requieres a strong database plataform, the project must be .NET , the estimated transactional movement is about 40 on line users accesing a DB with a 200 relational tables. The
Hello,
On 12/08/2003 07:58 PM, Robin Kopetzky wrote:
Is there a function or series of functions in PHP that will allow a PHP
package to read email from a sendmail account, look for a specific
information in the subject line, then be able to resend that email to a
group of users?? I know
Eric Holmstrom mailto:[EMAIL PROTECTED]
on Monday, December 08, 2003 3:06 PM said:
How do i make it so if i type
http://localhost/test.php?partno=5rdescription=copper
$partno = $_GET['partno'];
$description = $_GET['description'];
$sql =
SELECT partno
,
Eric Holmstrom wrote:
Okay i have this so far
---
?php
$conn = mysql_connect(localhost, , );
mysql_select_db(ERIC,$conn);
$sql = SELECT * FROM rocket;
$result = mysql_query($sql, $conn) or die(mysql_error());
while ($newArray =
Hi
I have an array in php like this:
$arr[0][0] = Something;
$arr[0][1] = Hello;
$arr[0][2] = Hi;
It is possible to post this array to another site in a form? Or how can i do
this?
Fred
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
fred mailto:[EMAIL PROTECTED]
on Monday, December 08, 2003 4:31 AM said:
I have an array in php like this:
$arr[0][0] = Something;
$arr[0][1] = Hello;
$arr[0][2] = Hi;
It is possible to post this array to another site in a form? Or how
can i do this?
Yes. Here is a hint: delimit.
Chris W. Parker wrote:
fred mailto:[EMAIL PROTECTED]
on Monday, December 08, 2003 4:31 AM said:
I have an array in php like this:
$arr[0][0] = Something;
$arr[0][1] = Hello;
$arr[0][2] = Hi;
It is possible to post this array to another site in a form? Or how
can i do this?
Yes. Here is a
I have an array in php like this:
$arr[0][0] = Something;
$arr[0][1] = Hello;
$arr[0][2] = Hi;
It is possible to post this array to another site in a form? Or how can i do
this?
It would help to serialize the array into a string, then pass it as a
regular value in a GET or POST request.
Hello,
On 12/08/2003 10:30 AM, Fred wrote:
I have an array in php like this:
$arr[0][0] = Something;
$arr[0][1] = Hello;
$arr[0][2] = Hi;
It is possible to post this array to another site in a form? Or how can i do
this?
You may want to try this class that lets you make HTTP requests like a
Manuel Lemos wrote:
Hello,
On 12/08/2003 10:30 AM, Fred wrote:
I have an array in php like this:
$arr[0][0] = Something;
$arr[0][1] = Hello;
$arr[0][2] = Hi;
It is possible to post this array to another site in a form? Or how
can i do
this?
You may want to try this class that lets you make
Hello,
On 12/08/2003 10:39 PM, Justin Patrin wrote:
$arr[0][0] = Something;
$arr[0][1] = Hello;
$arr[0][2] = Hi;
It is possible to post this array to another site in a form? Or how
can i do
this?
You may want to try this class that lets you make HTTP requests like a
normal browser:
On Tuesday, December 9, 2003, at 08:58 AM, Robin Kopetzky wrote:
Good afternoon, all!!
Is there a function or series of functions in PHP that will allow a
PHP
package to read email from a sendmail account, look for a specific
information in the subject line, then be able to resend that email
--- Manuel Lemos [EMAIL PROTECTED] wrote:
http://www.phpclasses.org/httpclient
Or even better, use PEAR's HTTP_Client.
http://pear.php.net/package/HTTP_Client
Why better? Have you tried both packages?
I can make a guess as to why he would say this, aside from the obvious
fact that
Manuel Lemos wrote:
Hello,
On 12/08/2003 10:39 PM, Justin Patrin wrote:
$arr[0][0] = Something;
$arr[0][1] = Hello;
$arr[0][2] = Hi;
It is possible to post this array to another site in a form? Or how
can i do
this?
You may want to try this class that lets you make HTTP requests like
a
Hey y'all.
Ok so I am working on the admin sectin of the e-commerce app I'm writing
and I'm hoping there's a better way to do what I am currently doing.
In an effort to prevent circumvention of the login page I've placed a
check at the beginning of each page that basically does the following:
Chris Shiflett wrote:
--- Manuel Lemos [EMAIL PROTECTED] wrote:
http://www.phpclasses.org/httpclient
Or even better, use PEAR's HTTP_Client.
http://pear.php.net/package/HTTP_Client
Why better? Have you tried both packages?
I can make a guess as to why he would say this, aside from the obvious
Chris W. Parker wrote:
Hey y'all.
Ok so I am working on the admin sectin of the e-commerce app I'm writing
and I'm hoping there's a better way to do what I am currently doing.
In an effort to prevent circumvention of the login page I've placed a
check at the beginning of each page that basically
--- Chris W. Parker [EMAIL PROTECTED] wrote:
In an effort to prevent circumvention of the login page I've placed
a check at the beginning of each page that basically does the
following:
?php
if(loggedin())
{
// entire page of code goes here
}
else
{
// redirect back to
Hello,
On 12/08/2003 11:06 PM, Justin Patrin wrote:
You may want to try this class that lets you make HTTP requests like
a normal browser:
http://www.phpclasses.org/httpclient
Or even better, use PEAR's HTTP_Client. http://pear.php.net/package/
HTTP_Client
Why better? Have you tried both
--- Justin Patrin [EMAIL PROTECTED] wrote:
Actually PEAR isn't a PHP project per se.
I disagree.
You have to become a member of the PHP development team, as far as I know,
to participate in PEAR development (CVS account, php.net email address,
etc.). The project is also governed by the PHP
Chris W. Parker wrote:
Justin Patrin mailto:[EMAIL PROTECTED]
on Monday, December 08, 2003 4:39 PM said:
If all you want to do is give an array to another
script, sure you can delimit (although that's much more error prone
than serializing).
Serialize, delimit. It's pretty much the same
Chris Shiflett wrote:
--- Justin Patrin [EMAIL PROTECTED] wrote:
Actually PEAR isn't a PHP project per se.
I disagree.
You have to become a member of the PHP development team, as far as I know,
to participate in PEAR development (CVS account, php.net email address,
etc.). The project is also
Hello,
On 12/08/2003 11:04 PM, Chris Shiflett wrote:
http://www.phpclasses.org/httpclient
Or even better, use PEAR's HTTP_Client.
http://pear.php.net/package/HTTP_Client
Why better? Have you tried both packages?
I can make a guess as to why he would say this, aside from the obvious
fact that
- Original Message -
From: Manuel Lemos [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 08, 2003 8:30 PM
Subject: Re: [PHP] Re: post an array into another site
Hello,
On 12/08/2003 11:04 PM, Chris Shiflett wrote:
http://www.phpclasses.org/httpclient
Or even
Manuel Lemos wrote:
Hello,
On 12/08/2003 11:06 PM, Justin Patrin wrote:
You may want to try this class that lets you make HTTP requests
like a normal browser:
http://www.phpclasses.org/httpclient
Or even better, use PEAR's HTTP_Client. http://pear.php.net/package/
HTTP_Client
Why
Justin Patrin wrote:
Manuel Lemos wrote:
Hello,
On 12/08/2003 10:30 AM, Fred wrote:
I have an array in php like this:
$arr[0][0] = Something;
$arr[0][1] = Hello;
$arr[0][2] = Hi;
It is possible to post this array to another site in a form? Or how
can i do
this?
You may want to try this
Dear List,
Is there an application somewhere that can be used to determine
incompatibilities with different versions of PHP of ones code?
Something like a recursive directory scan checking functions used and
determining the versions they will / won't work on. Hope this makes sence.
Thanks
Hello PHP-list,
I proudly announce the first release of my first PHP script:
spambothoney.
It provides a class to generate different types of email addresses
(random invalid, combination of users/hosts, with spambots IP/host,
binary output) and is meant to pollute the crawling spambots that
Hi, i'll definately have a look, maybe the PHP list should intergrate a
protection system, as i definately got bombarded with spam as soon as i
joined, funny enough never happened when i was using the newsgroup ??
Hello PHP-list,
I proudly announce the first release of my first PHP script:
Before you make any decision please take a look the
power of PHP.
http://www.dreamlab.ca/technology/phpsites/
Thanks
Hardik
--- Manuel Lemos [EMAIL PROTECTED] wrote:
Hello,
On 12/08/2003 07:42 PM, Ryotaro Ishikawa Md wrote:
Hi, I am a MD, involved in a very large medical
project that
Hello,
On 12/08/2003 11:36 PM, Justin Patrin wrote:
You may want to try this class that lets you make HTTP requests
like a normal browser:
http://www.phpclasses.org/httpclient
Or even better, use PEAR's HTTP_Client. http://pear.php.net/package/
HTTP_Client
Why better? Have you tried both
On Tuesday, December 9, 2003, at 12:08 PM, Chris W. Parker wrote:
Hey y'all.
Ok so I am working on the admin sectin of the e-commerce app I'm
writing
and I'm hoping there's a better way to do what I am currently doing.
In an effort to prevent circumvention of the login page I've placed a
= THE END =
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
On 12/09/2003 12:26 AM, Daniel Hahler wrote:
I proudly announce the first release of my first PHP script:
spambothoney.
It provides a class to generate different types of email addresses
(random invalid, combination of users/hosts, with spambots IP/host,
binary output) and is meant to
Hello,
On 12/09/2003 12:14 AM, Terence wrote:
Is there an application somewhere that can be used to determine
incompatibilities with different versions of PHP of ones code?
Something like a recursive directory scan checking functions used and
determining the versions they will / won't work on.
--- Justin Patrin [EMAIL PROTECTED] wrote:
Ok, I can give you that. But anyone (and I mean anyone) can submit
patches to the maintainers for inclusion.
This is no different than with PHP or most any other open source project.
In fact, submitting patches is probably the most common precursor to
--- Manuel Lemos [EMAIL PROTECTED] wrote:
I can make a guess as to why he would say this, aside from the
obvious fact that one is part of the PHP project and one is not.
And? Does that meant that all the 130.000+ subscribers of the PHP
Classes site are all wrong and you are one that is
Ralph Guzman wrote:
= THE END =
I apologize, everyone. I should have realized a while ago that this
would become a holy war.
--
paperCrane Justin Patrin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
On 12/09/2003 01:55 AM, Chris Shiflett wrote:
I can make a guess as to why he would say this, aside from the
obvious fact that one is part of the PHP project and one is not.
And? Does that meant that all the 130.000+ subscribers of the PHP
Classes site are all wrong and you are one that
--- Manuel Lemos [EMAIL PROTECTED] wrote:
If your publisher contacts me to ask to review your books, I will
point them to the archives of this thread so they decide if a book
written by PHP Classes site hater like yourself deserves to be reviewed
in the site.
I'll leave you to your own
hi
I have worked with imap functions for a long time .
When I use imap_open connecting to a imap server ,it always takes a 20
second delay.
I use like this :
?php
$mbox = imap_open({202.200.0.8:143}INBOX,user,pass);
imap_close($mbox);
?
why this happen?
--http://www.eyou.com
* Thus wrote Burrito Warrior ([EMAIL PROTECTED]):
This would:
/* selecting a random record, where n = 1. Works fine on small tables */
mysql SELECT value FROM table ORDER BY RAND() LIMIT n;
/* selecting a random record. This is good on large tables if numbering
sequence is used */
* Thus wrote Nitin ([EMAIL PROTECTED]):
Hi all,
I was wondering, if there's any way to achieve 'goto label:' using PHP
The closest you'll get to label's in php is the break statement.
while (loop) {
while (loop) {
break 2; // leave 2 loops
}
while (loop) {
break; // leave
Nitin wrote:
Hi all,
I was wondering, if there's any way to achieve 'goto label:' using PHP
Thanx for ur time
Nitin
goto is a very old and broken way of coding. If you ever find yourself
in need of a goto, you should re-evaluate how you're doing things. If
you're having trouble finding out
On Tue, 2003-12-09 at 00:32, Justin Patrin wrote:
Nitin wrote:
Hi all,
I was wondering, if there's any way to achieve 'goto label:' using PHP
Thanx for ur time
Nitin
goto is a very old and broken way of coding. If you ever find yourself
in need of a goto, you should
* Thus wrote Ryotaro Ishikawa MD ([EMAIL PROTECTED]):
Hi, I am a MD, involved in a very large medical project that requieres a strong
database plataform, the project must be .NET , the estimated transactional
movement is about 40 on line users accesing a DB with a 200 relational tables.
Robert Cummings wrote:
On Tue, 2003-12-09 at 00:32, Justin Patrin wrote:
Nitin wrote:
Hi all,
I was wondering, if there's any way to achieve 'goto label:' using PHP
Thanx for ur time
Nitin
goto is a very old and broken way of coding. If you ever find yourself
in need of a goto, you should
On Tue, 2003-12-09 at 00:51, Justin Patrin wrote:
Robert Cummings wrote:
Goto line number is a very broken way of coding. Goto label is a
very useful and structured way of coding especially when creating fast
FSMs for parsing. I was a little disappointed a few months ago when I
found
Hi all,
I am trying to do a simple INSERT data into the database using the following
php script but the problem here is that whenever I click submit, the script
only insert a NULL value into the columns into the datadase instead the
value I enter in the forms fieldSELECT query was
89 matches
Mail list logo