Hi,
I'm writing a program to record the system calls my web application places
by interposing the libc libraries. However, I noticed that none of the
system calls generated by the MySQL module in PHP is being recorded. I did
ltrace and it seems like the module is statically linked, but doing file
Hi All,
I guess regex can do the trick but I don't know much about regex :((
Here is what I want:
Say a text string in which there're several words enclosed by {
and }, for example {hellow}. I need to pick up each of the words
like this and print them or do some processing one by one.
Can any
It works the way as supposed :)
Thanks!
On Wed, 11 Aug 2004 18:07:57 -0400, Alex Shi [EMAIL PROTECTED] wrote:
Hi All,
I guess regex can do the trick but I don't know much about regex :((
Here is what I want:
Say a text string in which there're several words enclosed
Hi All,
Can any one recommend a strong/stable PHP/MySQL based web
mail system? It must support large mail transfer, some times may be
more than 10 MB for a single message.
Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
Any one can suggest me a php template (or modules) of a
web-based inventory control software including a web-store.
Thanks in advance!
Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
Please take a look at following very simple script;
#!/usr/bin/php -q
?
echo Hello, world!\n;
if (!$tty) {
$tty = fopen('php://stdin', 'r');
}
print Hello: ;
$ch = fgets($tty, 1024);
print $ch\n;
?
I tested it on many servers. Here is how it running (you can
figure out yourself):
Hi,
We have a web interface to do following:
1. login
2. check phone number (maybe thousands of)
3. logout.
I am just wondering is it possible to use a php script to simulate
the three steps? I understand that after login the web server will
send a cookie to browser, so in that way a session
On Fri, 16 Jul 2004 19:23:30 -0400, Alex Shi [EMAIL PROTECTED] wrote:
Hi,
We have a web interface to do following:
1. login
2. check phone number (maybe thousands of)
3. logout.
I am just wondering is it possible to use a php script to simulate
the three steps? I understand
enabled but
why behaved differently?
Thanks in advance!
Alex Shi
--
Regards,
Alex Shi
Stonix.com Inc.
Phone: 416-422-4466
Cell: 416-827-3685
Email: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Search google for javascript slideshow script. Javascript slideshow need
an array of image names, this can be done by php and mysql when dynamically
generate the page.
Alex Shi
I would like to have images displayed automatically using PHP with a
Database and/or an array of images
Hi,
How can have a php script unlink/delete a file uploaded via FTP?
Usually a ftp-uploaded file belongs to the ftp user, and a php
script is running by apache/nobody. Seems like there shouldn't
be any way to do this...OK, my situation is that I want a php script
to this: it can move bulk
() then it will work in the correct way. However
session is required for this script. I don't understand why it works
OK on the development server but not for application server.
Thanks in advance for all help!
Alex Shi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Curt Zirzow wrote:
hmm.. i think i just rememberd that it might had to do with making
sure that session.cache_limiter being set as 'nocache'.
Search the archives, the answer is there i believe.
Curt
You are close, it was session_cache_limiter('private_no_expire');
So, this
Curt Zirzow wrote:
hmm.. i think i just rememberd that it might had to do with making
sure that session.cache_limiter being set as 'nocache'.
Search the archives, the answer is there i believe.
Curt
You are close, it was session_cache_limiter('private_no_expire');
You are
Hello,
Does any one out there happend to know a php solution to directly
(without CSV) transfer an Excell spreadsheet into MySQL table?
Thanks in advance!
Alex
--
==
Cell Phone Batteries at 30-50%+ off retail prices!
http://www.pocellular.com
be wrong since it's been a
while since I've done anything with Excel, but it's worth
a try.
On Tue, 2003-06-17 at 11:09, Alex Shi wrote:
Hello,
Does any one out there happend to know a php solution to directly
(without CSV) transfer an Excell spreadsheet into MySQL table?
Thanks
stay very long to wait for a result, but just quit
if the
call take a time longer than timeout limit, and then go on for next steps.
Thanks in advance!
Alex Shi
--
==
Cell Phone Batteries at 30-50%+ off retail prices!
http://www.pocellular.com
I have a script in which there is a call to open a remote file:
fopen (http://www.somewhere.com/file.php?foo=bar;, r);
Sometimes if www.somewhere.com is down, it will stuck at the function
for very long a time. I hope to setup a timeout limit for this
function
(just
this), so
I have a script in which there is a call to open a remote file:
fopen (http://www.somewhere.com/file.php?foo=bar;, r);
Sometimes if www.somewhere.com is down, it will stuck at the function
for very long a time. I hope to setup a timeout limit for this
function
(just
this), so
Hi,
Any one know in a php script, if it is possible to simulate a post method?
I mean I want to header() to an url but don't like to embed the parameters
into that url.
Thanks in advance!
Alex Shi
--
==
Cell Phone Batteries at 30-50%+ off
, hotscripts.com and you might try
phpclasses.org as well.
^^
Thanks! I found a great class in phpclasses.org.
Alex
Jason
On Fri, 2003-02-28 at 14:09, Alex Shi wrote:
Hi,
Any one know in a php script, if it is possible to simulate a post
method?
I mean I want to header
tried several different types of fonts but all get same error.
I found those font files from windows and uploaded them to the
server. I don't if the Windows fonts could work for Linux.
Alex Shi
--
==
Cell Phone Batteries at 30-50%+ off retail prices
font, can I just upload the windows
font file to the web server (linux) and use php to load the font?
Thanks in advance!
Alex Shi
--
==
Cell Phone Batteries at 30-50%+ off retail prices!
http://www.pocellular.com
, but you'll find out what works and what doesn't soon
enough.
Hugh
- Original Message -
From: Alex Shi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 14, 2003 10:16 AM
Subject: [PHP] text to image
Hello,
I am thinking to create php script to dynamically convert a text
, specifically dealing with
alternate characters, but you'll find out what works and what doesn't
soon
enough.
Hugh
- Original Message -
From: Alex Shi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 14, 2003 10:16 AM
Subject: [PHP] text to image
Hello
behaviour on this server is abnormalHowever, I do hope I myself
made something wrong thus the bug is possible to be fixed...
Thanks for any help in advance!
Alex Shi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Are you interested in this?!
New generation of PHP Program, reaction to ASP.NET
WOOP (Web Object Of Php)
Have you write PHP program like this ?
// begin
class TForm extends System_UI_Form
{
function init()
{
$this-label1 = new System_UI_Label(label1, $this);
$this-button1 = new
test post only
_
Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
WOOP (Web Object Of Php)
Have you write PHP program like this ?
// begin
class TForm extends System_UI_Form
{
function init()
{
$this-label1 = new System_UI_Label(label1, $this);
$this-button1 = new System_UI_Button(button1, $this);
$this-button2 = new System_UI_Button(button2, $this);
Holmes...
- Original Message -
From: shi ziye [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 19, 2002 9:20 AM
Subject: [PHP] New generation of PHP Program, reaction to ASP.NET
WOOP (Web Object Of Php)
Have you write PHP program like this ?
// begin
class TForm extends
not sure how to post, sorry!
_
Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How can know the referrer of a script?
Let's say script B is linked from script/page A. Is it possible to
obtain A's name in script B?
Alex
--
---
TrafficBuilder Network:
http://www.bestadv.net/index.cfm?ref=7029
--
PHP General Mailing List (http://www.php.net/)
To
;
if A.Afn=2, then check value of B.Bfn2;
if A.Afn=3, then check value of B.Bfn3.
So how can I create such a where clause to do this?
Thanks in advance!
Alex Shi
--
---
TrafficBuilder Network:
http://www.bestadv.net/index.cfm?ref=7029
--
PHP General Mailing List (http
Is there a good way do drop an element from an array?
Alex Shi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Alex Shi
Timothy J Hitchens [EMAIL PROTECTED] 写入消息新闻
:002e01c26d89$780c14c0$[EMAIL PROTECTED]
Hint... look at array_push etc (like a stack)
Timothy Hitchens (HITCHO)
[EMAIL PROTECTED]
HITCHO has Spoken!
-Original Message-
From: Alex Shi [mailto:[EMAIL PROTECTED]]
Sent
Thanks!
Alex Shi
Timothy J Hitchens [EMAIL PROTECTED] 写入消息新闻
:002f01c26d8a$77332470$[EMAIL PROTECTED]
unset $some_variable[4];
then you would need to resort... etc (if needed)
Timothy Hitchens (HITCHO)
[EMAIL PROTECTED]
HITCHO has Spoken!
-Original Message-
From: Alex Shi
Thanks! This is what I need!
Alex Shi
Sascha Cunz [EMAIL PROTECTED] 写入消息新闻
:[EMAIL PROTECTED]
A solution on that depends strongly on how much values A.Afn would take. For
3, it's still okay. But i wouldn't do more.
Against what shall the B.Bfn* be checked? What Data do you want
learn something before I ask my hosting provier. Thanks!
Alex Shi
--
---
TrafficBuilder Network:
http://www.bestadv.net/index.cfm?ref=7029
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
THanks!
John W. Holmes [EMAIL PROTECTED] wrote in message
000f01c269a4$a7329be0$7c02a8c0@coconut">news:000f01c269a4$a7329be0$7c02a8c0@coconut...
I didn't realized that PHP had been going so fast that it was creating
problems for compatiblility.
Here is my situation: PHP on my
Is there any way to report PHP version?
--
---
TrafficBuilder Network:
http://www.bestadv.net/index.cfm?ref=7029
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to configure 4.2.2 to compatible downward.
Thanks!
Alex Shi
BTW: my development server is RH Linux 7.1 so cannot upgrade PHP
to 4.2.2.
--
---
TrafficBuilder Network:
http://www.bestadv.net/index.cfm?ref=7029
--
PHP General Mailing List (http://www.php.net
Hi,
I'm trying to convert a formated datetime string into a timestamp.
The string format is Y-m-d H:i:s. I use strtotime() to convert the
datetime string. However, the converted datetime seems lost its
time part. Is there any easy solution to make the converting?
Thanks in advance!
Alex
--
What these two things mean: __FILE__ and __LINE__ ?
I searched manul but find nothing about them...
Alex
--
---
TrafficBuilder Network:
http://www.bestadv.net/index.cfm?ref=7029
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
don't understand: __PATH__.
Alex
Kevin Stone [EMAIL PROTECTED] wrote in message
008801c2590a$28d7ede0$6501a8c0@kevin">news:008801c2590a$28d7ede0$6501a8c0@kevin...
http://www.php.net/manual/en/language.constants.php
-Kevin
- Original Message -
From: Alex Shi [EMAIL P
e values yourself from
$_SERVER['QUERY_STRING']
Alex Shi wrote:
How to ontain data from a group of checkbox using same name?
For example, in a form there're 6 checkboxes and all named as
Interesting_Area. I know if put a pairs of square brackets at the
end of the name then in php all the values
How to ontain data from a group of checkbox using same name?
For example, in a form there're 6 checkboxes and all named as
Interesting_Area. I know if put a pairs of square brackets at the
end of the name then in php all the values of them can be ontained.
However, for some reason I cannot use
Hello,
How to create a link that when click it will lauch file downloading at
client's end.
And another question which might be biased from this topic, but
still related with the subject of this message: why some downloading
link will lauch a ftp client such as NetAnts or Download Accelerator
indows's default configuration.
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
Alex Shi [EMAIL PROTECTED] a écrit dans le message de news:
[EMAIL PROTECTED]
Hello,
How to create a link that when click it will lauch file downloading at
clie
Thanks for your reply! Still have another question: How to use
header() to generate download link?
Alex
- Original Message -
From: [EMAIL PROTECTED]
To: Alex Shi [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, September 06, 2002 7:27 AM
Subject: Re: [PHP] Link for downloading
I have almost two years of experience in PHP. so don't think qualified for
being a newbie...However still found something don't know when reading
other's code :(
Here is what I want to know: $Global{'hello'}. What this means? Is it a
Variable-variable?
Alex
--
---
dAKT.com - Hébergement de sites Internet
Alex Shi [EMAIL PROTECTED] a écrit dans le message de news:
[EMAIL PROTECTED]
I have almost two years of experience in PHP. so don't think qualified
for
being a newbie...However still found something don't know when reading
other's code :(
Here i
Hello,
Currently I am using following method to generate dynamic page
content:
1. Create a page template, in which the places where substitution
is supposed to take place are marked by a key bracketed with
'{' and '}'. For example: {news}, {date}, {headlines}, {article_content}..
2. in php
Hi,
I am currently have PHP 4.0.4p11 and Apache 1.3.19 running
on RH Linux 7.1. Now I am thinking of upgrade my PHP to 4.1.2-7
(the version come with RH 7.3). I have downloaded all 4.1.2-7 rpm
packages altogether 10 files. I will stay with RH 7.1 but upgrade
PHP to 4.1.2-7. I am going to do
Thomas Edison Jr. [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Glory,
I'm looking for a new Web Hosting company, to host my
sites. I had been with Aletia, but i'm experiencing
some technical flaws with them, so i need a new one.
Aletia is very economical,
I have PHP 4.0.4p11 on RH Linux 7.1. Today I downloaded PHP 4.1.2-7
rpm packages (10 packages) from RH web site. These packages are
come with RH Linux 7.3. I don't want to upgrade Linux but just upgrade
PHP so I tried rpm -Uvh php-4.1.2-7.i386.rpm.
I got following error message:
error: failed
Hi,
I upgraded php from 4.0.4p11 to 4.0.6 with up2date (a RedHat Update
Agent). The new php includes a huge manual but I cannot find where is
it after installed, and I don't know how can access it. And more, my free
disk space is only 120M. So I am thinking to uninstall this manual. Any
one
Thanks! It works as I expected ;-) Alex
--
---
TrafficBuilder Network:
http://www.bestadv.net/index.cfm?ref=7029
"@ Edwin" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I haven't use up2date but perhaps this will work anyway. Open a
Jason Wong [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Saturday 13 July 2002 14:00, Alex Shi wrote:
Jason Wong [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Saturday 13 July 2002 13:31
the mysql list). Put simply, you can specify which port you want MySQL
to
use. However if the ISP only allows certain ports, eg SMTP, HTTP,
_and_
you're already using those ports, then you're stuck up a creek.
Of course you can always ask your ISP to unblock that port. Why are
Hello,
My client has a website and it support MySQL/PHP. The client want
to download the MySQL tables and then access them in Excell or
Access. So my question is, is it possible to convert MySQL table into
Access or Excell format? Thanks in advance for all answer!
Alex
--
-
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 12, 2002 9:48 PM
Subject: Re: [PHP] Convert MySQL table into Access or Excell format
On Saturday 13 July 2002 06:48, Alex Shi wrote:
Hello,
My client has a website and it support MySQL/PHP. The client want
Jason Wong [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Saturday 13 July 2002 13:31, Alex Shi wrote:
The thing is that, the MySQL table resides on a remote web server, my
client want to download it and access it in Access.
Doesn't matter, OD
Not sure what your question is
In the case password is not a variable but the value of
the variable, while admin is the name of the variable.
Variables passed by url is obtained by GET method, and
in your script all vairables passed by GET method can be
accessed directly. So, in following
For file uploading:
http://www.php.net/manual/en/features.file-upload.php
For chmod:
http://www.php.net/manual/en/function.chmod.php
For the third question:
php has no restriction where php scripts have to be
put in. so just put the script where you want to upload file.
Hope these can help.
Hello,
I have created several web sites using php. In all these sites
session id is passed via cookie. However I noticed that some
times it was passed by url. I am thinking that to pass session
id by url will be safer than by cookie. However I don't know
how can do this without change my code.
Hi!
I want to know how can a script obtain the page name where
it was linked. e.g., there's a link on page.html, and the link
points to script.php, how can script.php know the name of
page.html? Thanks in advance for all answer!
Alex
--
PHP General Mailing List (http://www.php.net/)
To
Hi!
How can I send a html email with just the build-in function mail()?
Is this required to put some infomation in header field? Thanks
in advance!
Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d direct SMTP transport.
--
Michael Geier
CDM Sports, Inc. - Systems Administrator
email: [EMAIL PROTECTED]
Quoting Liam MacKenzie [EMAIL PROTECTED]:
RTFM
http://www.php.net/manual/en/function.mail.php
- Original Message -
From: Alex Shi [EMAIL PROTECTED]
To
Hi,
I am using PHP 4.0.4pl1 on RH 7.0. I know PHP uses sendmail
as it's default mailer. However on my system sendmail has never
been working well. So I am thinking that if it is possible to
configure php to use my ISP's SMTP server instead of using
the sendmail. Any one can help me out how to
mail.mindspring.com instead of localhost.
---John Holmes...
-Original Message-
From: Alex Shi [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 6:52 PM
To: [EMAIL PROTECTED]
Subject: [PHP] I want to use a mailer other than sendmail
Hi,
I am using PHP 4.0.4pl1 on RH 7.0. I
Hi,
I have a script need to be launched from terminal, and I want
it to report the script's path. Because this script is required to
be launched from command line, so those Apache env vars
have not effect work, even $PHP_SELF don't work.
Can anybody has a solution for this? Thanks in advance
I am now trying to use php script from command line. Everything is
Ok except only one thing: it will always send out header msg. How
can stop it from sending header?
Alex Shi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
there has ever used it could you please give some comment.
Thanks!
Alex Shi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Monday, February 04, 2002, 12:17:27 AM, recebi de John P. Donaldson:
John I've tried several PHP form processors, and all of
John them have trouble sending the form contents to a Yahoo
John address. When I change the address to something other
John than a Yahoo account, it sends the
Hi,
Today I met a very strange problem.
My system had been working perfect since long time back when
I setup mysql/php/apache on RH 7.1, until today I found that php
could not connect mysql with the user from 'localhost'. But actually
user@localhost can login to mysql from terminal. 'Locahost'
Here is my situation:
1. Two hosts: HA and HB, both connected with each other via Internet.
2. On HA there is a MySQL server SA and a Web server WA, while on
HB there is a SB and a WB.
3. On WA there is a page, on which there are two buttons: ba and bb.
The ba is linked to a script sa.php while
Yesterday I posted a question yet got response. The question
is regarding to how Query works. Now I repost it in a more
specific way.
I am just wondering how MySQL API functions work. Let's look
at following two functions:
1. mysql_query(),
2. mysql_fetch_array()
To my understanding,
My situation is to access a remote MySQL server, and of course
I do care about traffic. Suppose In a script there's a query:
$result = mysql_query (select * from employ where age45)
or die (Invalid query);
I am just wondering that if MySQL server would return all the query
result in total,
Hi,
I 'd like to know how can we list all the sessions concurrently
active on a web site. If anyone out there knows how to do the
trick please help. Thanks in advance!
Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
If a sesson_id is known, how can check if the session exists?
Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
with it. Anyone has
idea what's wrong with it? Please help me out if you know
this issue. Thanks in advance!
Alex Shi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators
Now I set extension_dir point to correct path in php.ini, the
problem changed: it shows 500 internal server error.
- Original Message -
From: Alex Shi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 18, 2001 5:51 PM
Subject: [PHP] PHP4 on Windows98 with PWS4
Hello
same error. It seems like this must be a web server config
problem but I don't how to find out a clue.
Alex
- Original Message -
From: Jim Lucas [EMAIL PROTECTED]
To: Alex Shi [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, December 18, 2001 6:52 PM
Subject: Re: [PHP] PHP4
Really? It seems perfect from my end (IE5.5/Win2K)..
I got the same error...
--- R'twick Niceorgaw [EMAIL PROTECTED] wrote:
While voting I got this error
Warning: Cannot add header information - headers already sent by
(output
started at
Hello,
For some reason I need to test Hex value in a string variable.
Could any one here help me out how to write one or more hex
values into a string variable?
Thanks!
Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Javascript.
- Original Message -
From: Indera [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 12, 2001 4:01 AM
Subject: [PHP] Script like this for PHP
Hello,
I came across this FAQ and I really would like to create my FAQ like this
one. I was wondering if
someone
Have the page expired at once!
Alex
- Original Message -
From: ryan adorable [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, December 09, 2001 10:07 AM
Subject: [PHP] Help!
Hi,
I created a poll program for my homepage. When i vote some field in my
database gets
Absolutely you are doing in the right way:) But pls make sure that
string comparison is from left to right. For example, 16 is larger
than 15-12-01.
Alex
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 08, 2001 8:16 PM
Subject: [PHP]
Basically I agree with you. But the second time to get time must be done
after the page is rendered on local browser. So I suggest to use Javascript
for the second time to get time, and pass the first time value into a js
function.
Alex
- Original Message -
From: Andrew Forgue [EMAIL
it is not a final solution
but this is acurate.
Hope someone else out there can give better solution.
Alex
- Original Message -
From: Jason G. [EMAIL PROTECTED]
To: Alex Shi [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, December 08, 2001 11:42 PM
Subject: Re: [PHP] How to compute
Hi,
I have a question about how we can read environment variables. In perl we
can
do this as following:
$caller = $ENV{'HTTP_REFERER'};
$doc_name = $ENV{'DOCUMENT_NAME'};
$visitor_ip = $ENV{'REMOTE_ADDR'};
$visitor_host = $ENV{'REMOTE_HOST'};
Actually in Perl, either SSI or CGI, we can get all
Can you paste Tnoy2.php script? Please make sure in Tony2.php $name
is printed but not $lname.
Alex
- Original Message -
From: Anthony Ritter [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 07, 2001 12:01 AM
Subject: [PHP] Trying to pass a variable through a form...
You can use,
header (Location: http://www.php.net;);
and you can pass variable,
header (Location: http://www.php.net?name1=$value$name2=$value2;);
Hope this can helps.
Alex Shi
- Original Message -
From: Cam [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 07, 2001 12
http://phpwizard.net/projects/phpMyAdmin/ -- this is a great admin tool
through web
http://www.mysql.com/downloads/gui-mysqlgui.html -- you can find screenshot
there,
looks ugly
- Original Message -
From: Hai Nguyen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 07,
Where you find it? Why not show up the link?
Actually I have been always thinking of a php studio. I think at least
following
things could be integrated into such a studio: a php IDE bundled with a web
authority tool, and port to SQL server and web server.
Alex
- Original Message -
Hello folks,
Today, I found a very powerful editor, called TextPad. I said it is
'powerful'
because it can recognize syntax of php, html, java, css and also many
many more great featuresmuch better that Windows Notepad. You can
download and try. You need to take a few minutes to explore
I always using session together with header() and never got a
problem. Here's something might be a hint to you:
?
session_start();
$value = 908;
// I always register it before using it
session_register(value);
header(location : new location);
// How did you write the new location? I never
Hi,
I wanto know how can obtain all of the fields' names of a
MySQL table in a php script. Anyone have an idea about
this please help. Thanks!
Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks for all reply! I just realized that this is just a simple issue
of a sql query.
Alex
- Original Message -
From: Alex Shi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 25, 2001 3:03 PM
Subject: [PHP] How to obtain all the fields' names of a MySQL table?
Hi
Hi
I'm trying to listen to port 119 with a socket connection. The script looks
like this:
It works fine until this line if(($ac=accept_connect($sock))0){
Thats where the problem is, it never accepts a connection it just keeps on
running.
?
$sock = socket (AF_INET, SOCK_STREAM, 0);
$bin =
1 - 100 of 113 matches
Mail list logo