at my site:
http://www.joe.to/live2
i have a php page (index.php) that queries two counter-strike servers to get
info on them
but i can only get it to show ONE server at a time. i am a beginner with php
and i can't figure out why it wont show two at once. the files there are
for you to look at
Hi,
Anybody knows any good open source website statistics tool with graph and pie
diagrams.
I did go to sourceforge.net and saw few but wanted to know if any of you have found
really good one.
Basically I am looking for tool which apart from basic stuff like referrer, ip,
browser nam
At 18.03.2002 13:18, you wrote:
>
>I know I shouldn't be asking these questions on this mailing list but
>you guys are ALWAYS EXTREMELY helpful...
>
>1) I want a a text link to change color when the mouse is hovering over
>top of it. How do I do this? Im sure it's some CSS thingy.
You´re right
I've just added another record to the table. Now they're a total of 3
records matching the "WHERE emp_id='$emp_login_id" criteria. When I
"print_r(array_values($emp_login_grp_id));" I get the following values:
Array ( [0] => 222 [1] => 333 ). For some reason, it seems to be skipping
the first r
On Tuesday 19 March 2002 03:44, Mullin, Reginald wrote:
> I've just added another record to the table. Now they're a total of 3
> records matching the "WHERE emp_id='$emp_login_id" criteria. When I
> "print_r(array_values($emp_login_grp_id));" I get the following values:
> Array ( [0] => 222 [1]
On Sunday, March 17, 2002, at 10:07 PM, David Duong wrote:
> Can PHP be considered CGI?
>
> Would PHP replace Perl as the main language of CGI?
Unless you are specifically referring to Common Gateway Interface, the
term "CGI" should be deprecated in favor of the term "server-side
scripting l
I would like to print the line bellow on my HTML generated by a PHP file.
How can I do it?
The line is:
Thank you
Daniel Ferreira Castro
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Guys,
I've finally been able to figure this out. Turns out, I had to make
another, different SQL query to the DB instead of re-using the prior SQL
query statement.
The *new* code looks like this:
File: login.php
# if $employee_1, query db workgroups table to check if $emp_login_id
belongs to
On Monday, March 18, 2002, at 12:34 PM, Mike Eynon wrote:
> I have got the Sablotron XSLT extension working in Windows, but now am
> having trouble getting it to work on my LINUX servers.
I just got it up and running in Linux with PHP 4.1.2 the other day.
> I have tried reading
> http://www.
I should have been more exact in my original reply. The second query
isn't necessary. Try this:
File: login.php
# if $employee_1, query db workgroups table to check if $emp_login_id
belongs to any groups
$sql_2 = "SELECT * FROM workgroups WHERE emp_id='$emp_login_id'";
$result_2 = @mysql_query
On Monday, March 18, 2002, at 02:57 PM, Daniel Ferreira Castro wrote:
> I would like to print the line bellow on my HTML generated by a PHP
> file.
> How can I do it?
>
> The line is:
>
";
?>
E
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP Gener
I beg to differ :)
FORM INPUT[type=text] { height: 16px; width: 8em; }
FORM INPUT[type=text]:hover { color: inherit; background-color: yellow; }
Works just dandy.
-d
Hunter, Ray wrote:
>Actually,
>
>If I understand correctly, you want the actual text field box to be the same
>size as the text
On Monday, March 18, 2002, at 02:22 PM, pong-TC wrote:
> It is quite off the topic. I think most of you work with form while you
> are using PHP. Does anyone need to conform your form webpage to ADA
> compliance? It is a U.S. Section 508 Guidelines for handicap people to
> access the webpage
Hi all,
Just wondering, does a table have to have an index? If so what should I
consider when making a colum an index?
Here is the table I am using but I can't get php to update it.
Is it because there is no index?
CREATE TABLE wt_pet (
petid varchar(100) default NULL,
pet_user int(10) NOT
You don't have to have an index in order for an update to work, although indexes do
help performance a great deal when you are dealing with a lot of records. Do you have
"Update" permissions on the particular table/database you are working with?
Brian Drexler
-Original Message-
F
I have seen this problem before and, yes, an index field with
autoincrement is always a good thing to have.
Perhaps, this is not necessary, but usually works.
John
On Mon, 18 Mar 2002, Jennifer Downey wrote:
>-Hi all,
>-
>-Just wondering, does a table have to have an index? If so what should I
It doesnt work
I need to use it with fwrite not print :-)
"Erik Price" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> On Monday, March 18, 2002, at 02:57 PM, Daniel Ferreira Castro wrote:
>
> > I would like to print the line bellow on my HTML generated by
PHP doesn't have to parse this string (since it contains no PHP variables, why pass
it through the parser?), and it's easier to read:
echo '';
>On Monday, March 18, 2002, at 02:57 PM, Daniel Ferreira Castro wrote:
>
>>I would like to print the line bellow on my HTML generated by a PHP file.
I think awstats has everything your asking for.
-Original Message-
From: karthikeyan [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 12:31 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Website STATISTICS
Hi,
Anybody knows any good open source website statistics tool with graph and
On Monday, March 18, 2002, at 03:40 PM, Jennifer Downey wrote:
> Just wondering, does a table have to have an index? If so what should I
> consider when making a colum an index?
You're not required to have an index, as far as I know. It's just that
an index is a way of optimizing retrievals
I use webalizer. www.mrunix.net
> -Original Message-
> From: karthikeyan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 18, 2002 2:31 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Website STATISTICS
>
>
> Hi,
>
> Anybody knows any good open source website statistics tool
> with gr
Hey all,
I find myself in need of working with IP addresses. However, the situation
is a bit strange.
There will be a form with a text box to allow IP address entries as follows:
192.168.5.195
or
123.23.35.4 123.23.35.45 123.23.35.74
or
123.4.34.1/123.4.34.255
or
13.234.5.41/13.234.5.75 12.34.
For that matter, even better... Why bother with PHP at all?
-Original Message-
From: John Steele [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 7:53 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] printing in HTML or PHP
PHP doesn't have to parse this string (since it conta
On Monday, March 18, 2002, at 03:49 PM, Daniel Ferreira Castro wrote:
> I need to use it with fwrite not print :-)
>
> "Erik Price" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>>
>> On Monday, March 18, 2002, at 02:57 PM, Daniel Ferreira Castro wrote:
>>
Where can you find that one?
On 3/18/02 3:49 PM, "Dan Vande More" <[EMAIL PROTECTED]> wrote:
> I think awstats has everything your asking for.
>
> -Original Message-
> From: karthikeyan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 18, 2002 12:31 PM
> To: [EMAIL PROTECTED]
> Subject:
On Mon, 18 Mar 2002, Charles Williams wrote:
> There will be a form with a text box to allow IP address entries as follows:
>
> 192.168.5.195
> or
> 123.23.35.4 123.23.35.45 123.23.35.74
> or
> 123.4.34.1/123.4.34.255
> or
> 13.234.5.41/13.234.5.75 12.34.34.150/12.34.34.225
>
> The above a just
On Monday, March 18, 2002, at 04:07 PM, Charles Williams wrote:
> The above a just a few examples. I need to be able to grab either the
> IP
> addresses or the ranges and verify that when an IP is entered at a later
> date and compared to the above types of previously saved data that the
> I
Does anyone know a good web server beside WebStar for the Mac Classic OS,
that will allow you to run PHP with it? I have a client that is looking for
such an animal. I recommended WebStar because I know it will let you run cg,
but I am not sure about PHP. WebStar is the only professional web serve
At 18.03.2002 16:57, you wrote:
>I would like to print the line bellow on my HTML generated by a PHP file.
>How can I do it?
>
>The line is:
>
>
>Thank you
>
>Daniel Ferreira Castro
Your line should be between and
the you could use
echo '';
HTH Oliver
--
PHP General Mailing List (http://www.
Hi:
Does anyone out there know how to execute a WHOIS query from within PHP?
Thanks!
--Brian Grossberg
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hiya..
Im using Apache 1.3.23 with php 4.1.2 (DSO mod) on a linux system as http
server
and a linux system with NFSv3, using (rw,no_root_squash,sync) on the
exported directories.
Since the plan is to use a load balancing system and 2 web servers
I've been trying to get the session data files to
Unfortunately PHP was never developed for MacOS 9 so there is no option
there.
The only option is to switch to MacOSX (which I highly recommend) or
migrate to XP (which is a mess but works).
-Kevin
-Original Message-
From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTED]]
Sent: Monday, Marc
On Monday, March 18, 2002, at 04:22 PM, Chuck "PUP" Payne wrote:
> Does anyone know a good web server beside WebStar for the Mac Classic
> OS,
> that will allow you to run PHP with it? I have a client that is looking
> for
> such an animal. I recommended WebStar because I know it will let you
On Mon, 18 Mar 2002, Brian wrote:
>Hi:
>Does anyone out there know how to execute a WHOIS query from within PHP?
quick and dirty:
#!/usr/bin/php -q
--
---
Greg Donald - http://destiney.com/
http://phprated.com/ | http://ph
On Mon, Mar 18, 2002 at 02:58:18PM -0500, Brian wrote:
> Does anyone out there know how to execute a WHOIS query from within PHP?
I use this on a NetBSD system:
exec("whois -h whois.geektools.com $Domain", $Result);
--Dan
--
PHP scripts that make your job easier
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Charles Williams" <[EMAIL PROTECTED]>
Cc: "Php-General (E-mail)" <[EMAIL PROTECTED]>
Sent: Monday, March 18, 2002 10:12 PM
Subject: Re: [PHP] Working with IP addresses
> On Mon, 18 Mar 2002, Charles Williams wrote:
> > There will be a
On Mon, 18 Mar 2002, Chuck "PUP" Payne wrote:
> On 3/18/02 3:49 PM, "Dan Vande More" <[EMAIL PROTECTED]> wrote:
>> I think awstats has everything your asking for.
>
> Where can you find that one?
As always, freshmeat.net is the place to go for a truly comprehensive
database of open source softwa
On Monday, March 18, 2002, at 03:22 PM, Chuck "PUP" Payne wrote:
> Does anyone know a good web server beside WebStar for the Mac Classic
> OS,
> that will allow you to run PHP with it? I have a client that is looking
> for
> such an animal. I recommended WebStar because I know it will let you
Hello all,
I've got a script that generates a txt file, compresses it into a Zip file and it all
happens on a directory that is out of apache's web site.
This script generates the file based on MySQL server information and I have it then
sent to the user's e-mail address. What I would like to
On Mon, 18 Mar 2002, Charles Williams wrote:
>> Ordinarily I would suggest CIDR subnets but the sample IP addresses you
>> provided do not comply - they seem to be random numbers. Is this because
>> you need to deal with arbitrary sets of IP addresses rather than valid
>> subnets, or because you w
Thanks, I am pushing them to go to OS X, but they are PPC 8500, which can
only go to Mac OS 8.6, maybe 9. They don't want to buy a new computer, I
personal have a G4 and Snowflake iBook and am running 10.1.3 with Apache,
PHP, and MySQL. I told the I search and ask, which I have so thanks guys.
By
Does xcopy support long file names?
-Original Message-
From: Robert V. Zwink [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 2:17 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] Copy *.*
You'll probably have the most success using the system() function to execute
Read my article on connecting to Internet services (Creating a WHOIS
interface):
http://www.zend.com/zend/spotlight/connecting.php
John
-Original Message-
From: Analysis & Solutions [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 4:48 PM
To: PHP List
Subject: Re: [PHP] WHOIS
Hi,
Someone submits an URL to me. Now I want a script that checks for some words in the
file right after submitting. When the word is in the file it must stop.
For example the words: house and school.
On Monday, March 18, 2002, at 05:16 PM, Chuck "PUP" Payne wrote:
> Thanks, I am pushing them to go to OS X, but they are PPC 8500, which
> can
> only go to Mac OS 8.6, maybe 9. They don't want to buy a new computer, I
> personal have a G4 and Snowflake iBook and am running 10.1.3 with
> Apach
-Original Message-
From: Sven Jacobs [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 5:03 AM
To: [EMAIL PROTECTED]
Subject: [PHP] dateformat
hey all
I want to convert 20020211150245 into 2002-02-11 15:02:45.
Does somebody have the correct conversion for this ?
--
PHP Genera
What about:
YellowDogLinux http://www.yellowdoglinux.com
Suse http://www.suse.com
or Debian http://www.debian.org/
There is also a hack to get OS X running on pre G3 macs
http://eshop.macsales.com/OSXCenter/XPostFacto/
Enjoy,
David Pieper
--
programmer n. /pro gram er/ A device for transmutin
Hi,
You can find that at www.sourceforge.net.
Regards,
karthikeyan.
- Original Message -
From: Chuck "PUP" Payne <[EMAIL PROTECTED]>
To: Dan Vande More <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, March 19, 2002 2:44 AM
Subject: Re: [PHP] Website STATISTICS
>
> Where ca
We have an application that used PHP's FTP function to upload files. Now it
worked until we upgraded to 4.1.2. We have now downgraded back to 4.1.1 but
still no luck, it won't work.
We have set upload_max_filesize and post_max_size as well, and that doesn't
seem to help. Here is the following cod
>
> Or even put the 68k linux distro (I forget its name) on their 8500.
Actually, an 8500 can run LinuxPPC or SuSe for PPC just fine.
I've got PHP, iODBC, Apache, etc running great on this setup for testing
purposes.
Best regards,
Andrew Hill
Director of Technology Evangelism
http://www.openl
I performed a:
setCookie($username, $username, time()+3600,"", "", "0");
echo header("Location: projects.php");
... on a php page that deals with a form submission. However, when I get to
projects.php, it claims $username doesn't exist. The book said that to get
a variable from a cookie, all I
Hello All,
I have a problem uploading big files. 23MB range. I already changed the
max_upload_filesize and the post_max_site to 26214400 byes (25Mb) and the
timeout (set_time_limit) is set to 0. No limit.
Since I'm testing over a lan uploading goes fast. I see it going for a while
and then s
You could run YellowDog Linux on the PowerMac 8500.
http://www.yellowdoglinux.com/ydl_home.shtml
You could upgrade the CPU and RAM cheap as well.
-John
>On Monday, March 18, 2002, at 05:16 PM, Chuck "PUP" Payne wrote:
>
>>Thanks, I am pushing them to go to OS X, but they are PPC 8500, whi
Is it possible to determine if it's the php script causing the error or the
browser causing the error? Maybe it's the browser timing-out??
-Original Message-
From: Gerhard Hoogterp [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 9:50 AM
To: [EMAIL PROTECTED]
Subject: [PHP] proble
Linux PPC/SuSe PPC can run on the 8500, it a 603 I think. The problem for
them is money, I recommend a PPC 5400(180Mhz, 80Megs) running SuSE 7.0that I
own for them, at the price of $150, PPC 5400 that the grandfather of the
iMac. The guy paid $6000 for this Mac, and the guy doesn't want to even
h
A couple more headers than absolutely necessary, but this should work:
mh.
On Mon, 18 Mar 2002, Carlos Fernando Scheidecker Antunes wrote:
> Hello all,
>
> I've got a script that generates a txt file, compresses it into a Zip file and it
>all happens on a directory that is out of apache's
On Mon, 18 Mar 2002, Mark Heintz PHP Mailing Lists wrote:
> header ( "Content-Disposition: attachment; filename="$downloadfile" );
erg... typo...
header ( "Content-Disposition: attachment; filename=$downloadfile" );
mh.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Mon, 18 Mar 2002, Erik Price wrote:
> On Monday, March 18, 2002, at 04:07 PM, Charles Williams wrote:
>> So basically I guess I just need a way of, after retrieving the info
>> from the DB, splitting the IP (range(s)) apart and then comparing the
>> IP entered to those in the array(?) to verif
The objective of this foundry is to develop scripts that will be usefull to
anyone.
We will be producing scripts from scratch when we have a good script in
mind, but most of the time we will be working on scripts with high potential
that a member has created..
What I mean by marketers is people
Hi Mark,
It does not work. What it does is to echo the thing to the screen.
How can I force the browser to download it with its original file name?
- Original Message -
From: "Mark Heintz PHP Mailing Lists" <[EMAIL PROTECTED]>
To: "Carlos Fernando Scheidecker Antunes" <[EMAIL PROTECTE
What does the pl mean in 4.0.4-pl1
And 4.0.3 pl1?
And 4.0.1-pl2 and so on and so forth?
Thanks
Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 18 Mar 2002, Dan Vande More wrote:
> What does the pl mean in 4.0.4-pl1
> And 4.0.3 pl1?
> And 4.0.1-pl2 and so on and so forth?
Patch level.
Like a minor version.
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Trying to use the COPY function to allow user uploads to a site,
> along the lines of:
>
> copy(temp directory, directory on my server).
>
> However, I'm getting an error:
>
> Warning: Unable to create 'directory/image name': Permi
Thanks miguel
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 5:14 PM
To: Dan Vande More
Cc: PHP-GENERAL
Subject: Re: [PHP] What does PL mean?
On Mon, 18 Mar 2002, Dan Vande More wrote:
> What does the pl mean in 4.0.4-pl1
> And 4.0.3 p
I'm getting an unhelpful error message from my ftp script. It says "Warning,
error opening file..." The code in question runs like this.
$conn = ftp_connect("ftp.mysite.com");
ftp_login($conn,"user","pass");
ftp_get($conn, $newName, $oldName , FTP_BINARY);
I can't see what's causing the error. A
I would double check the values of $newName and $oldName and make sure
that you have read permission on the one and write permission on the
other... seems like the error should tell you what file it's having
problems with, but maybe not.
-philip
On Mon, 18 Mar 2002, Ian Wayne wrote:
> I'm getti
On Mon, 18 Mar 2002, Ian Wayne wrote:
> I'm getting an unhelpful error message from my ftp script. It says "Warning,
> error opening file..." The code in question runs like this.
>
> $conn = ftp_connect("ftp.mysite.com");
> ftp_login($conn,"user","pass");
> ftp_get($conn, $newName, $oldName , FTP
The connection to the ftp may need to be put into passive mode to
transfer any files, and even the directory listings... try that and see
if the problem is fixed... this is especially true on machines accessing
the internet through NAT (network access translation) network
firewalls/servers
-O
Use Header() ...
I remember it's something like :
header ("Location: http://yoursite.ext/yourfile.ext";);
Am I wrong ???
- Original Message -
From: Carlos Fernando Scheidecker Antunes <[EMAIL PROTECTED]>
To: Mark Heintz PHP Mailing Lists <[EMAIL PROTECTED]>
Cc: PHP-GENERAL <[EMAIL PROTE
On a shared hosting provider, I have an account like:
/home/~myname/www/
and
/home/~myname/resources/
As far as I know, apache can only access what's in the www directory and
below. However,
php can include stuff from the resources directory. This is where it's
recommended to keep the database p
I have checkboxes on my FORM and I want to get the values of thoses
checkboxes with my PHP script.
My html use the post method
I am trying to use $HTTP_POST_FORM['name_of_the_checkbox'] but I am not
beeing successfull.
How can I do it??
Thank you
Daniel; F. Castro
--
PHP General Mailing Li
try $_POST['name_of_the_checkbox']
or just $name_of_the_checkbox (if you have register_globals set to on)
-Original Message-
From: Daniel Ferreira Castro [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 1:27 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Getting values of Checkboxes
I
If a heckbox is left blank, then the webserver does not pass it's name/value
pair on to the PHP processor.
This means that if you have
And the box is not checked, then when your script recieves the form,
$_POST['foo'] will not be available.
So to test for it, use isset($_POST['foo']) to see if
variables begin with a $ sign. but what does it mean if it begins with 2 $
signs? (i.e. $$var)
_
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--
PHP General Mailing List (http://www.php.net/)
To unsub
it's a pointer to a variable
eg.
$foo = "bar";
$$foo = "hello world";
echo $bar;
this will echo out "hello world"
-Original Message-
From: mm fernandez [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 2:58 PM
To: [EMAIL PROTECTED]
Subject: [PHP] $$
variables begin with a $ sig
At 03:58 AM 3/19/2002 +, mm fernandez wrote:
>variables begin with a $ sign. but what does it mean if it begins with 2 $
>signs? (i.e. $$var)
http://www.php.net/manual/en/language.variables.variable.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
Hi there,
I am wondering if there are link checkers for dynamic websites?
Thanx, Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I need a function that encodes stuff, with a key. It, of course, needs to
be decodable too. Does anbody know/have a function like this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello all,
Im trying to replace the first two digits (41) from a telephone no. with a 0
(zero), like 41763334455 should end wit 0763334455. Anybody a idea howto? My
php programming experiance is not very high so if any body could provide a
code example
thank you very mutch for help
Marc
-
On Tue, 19 Mar 2002, Leif K-Brooks wrote:
> I need a function that encodes stuff, with a key. It, of course, needs to
> be decodable too. Does anbody know/have a function like this?
http://www.php.net/manual/en/ref.mcrypt.php
miguel
--
PHP General Mailing List (http://www.php.net/)
To u
On Mon, 18 Mar 2002, Marc Bleuler wrote:
> Im trying to replace the first two digits (41) from a telephone no. with a 0
> (zero), like 41763334455 should end wit 0763334455. Anybody a idea howto? My
> php programming experiance is not very high so if any body could provide a
> code example
ht
on 3/19/02 2:28 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:
On Tue, 19 Mar 2002, Leif K-Brooks wrote:
> I need a function that encodes stuff, with a key. It, of course, needs to
> be decodable too. Does anbody know/have a function like this?
http://www.php.net/manual/en/ref.mcrypt.php
On Monday 18 March 2002 23:56, Martin Towell wrote:
> Is it possible to determine if it's the php script causing the error or the
> browser causing the error? Maybe it's the browser timing-out??
Tested with two browsers. But probably it's the timing anyhow indeed.. I just
realized that the timeo
101 - 183 of 183 matches
Mail list logo