wget http://your.server.address/phpscript.php
did the trick
thanks
Paul Roberts
[EMAIL PROTECTED]
- Original Message -
From: "Bruce S. Garlock" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 22, 2002 8:55 PM
Subject: Re: [PHP] cron with php as
how about giving an example of the error message(s)...
- Original Message -
From: "Chris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 22, 2002 12:59 PM
Subject: [PHP] included files not reread by php when i edit the files
> While editing pages, for some reason (defa
template page at http://www.isbliss.co.nz/beta/mainpages/template.html
disregard any linked pages.
This will be the template for all the other pages.
1. Could you please tell me why when you hover off or anywhere on this page
the "hair salon" button is highlighted.
think I have done something t
Hey!
I want to have my website on English, Spanish and Norwegian so I want a PHP
script that sends the user to the page on their language.
I've seen some portals doing some PHP things, and sending the user to a
'fancy' URL with the Languange that their Borwser/OS is on.
Can someone please tell
Hey!
I want to have my website on English, Spanish and Norwegian so I want to
have a PHP script that sends the user to the page on their language.
I've seen some portals doing some PHP things, and sending the user to a
'fancy' URL with the Languange that their Borwser/OS is on.
Can someone plea
$HTTP_ACCEPT_LANGUAGE
-Original Message-
From: ::: rObEr2 ::: [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 1:59 PM
To: [EMAIL PROTECTED]
Subject: [PHP] A Language Script?
Hey!
I want to have my website on English, Spanish and Norwegian so I want to
have a PHP script
I've been watching the lists from time to time and I see a lot of
requests for information like this floating around. I wonder if people
know of the phpinfo() command... in my experience it's been an
invaluable tool to help with little issues that pop up with 'where do I
find out XXX about XXX' ma
Too often novices are expected to know how to find this information by
mental telepathy because they either don't know the keywords to search
for or don't realize that certain common resources exist. If the list
administrators would simply compile a short email containing FAQ and
RESOURCE links t
Hi,
New poster, no need to flame unnecessarily...
Following up on James' original posting, I took 2000 or so message headers
from the archive and extracted (Perl, sorry) keywords for about 50% of the
postings. This gave the following metrics on problems:
13 table
65 apache
70 a
Hi,
I see there a number of PHP scripts/libraries out there for the purpose
of graphing data. Which one is considered to be the best, most powerful
/ easiest to use? I need to plot X/Y graphs for some data sets with
vertical error margin lines going along the y-axis. Any recommendations?
Cheers,
Yeah, I've ran into a few of those customers. It's even worst when you
find one that doesn't know what they want, yet have many, sometimes
conflicting, restrictions.
Thanks, Miles!
-john
On Fri, 22 Mar 2002, Miles Thompson wrote:
> It depends on the project. I generally charge $50/hr
Lee P Reilly wrote:
> with
> vertical error margin lines going along the y-axis. Any recommendations?
Ahem, the X axis.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://vancouver-webpages.com/multilingual/ccodes.txt
http://vancouver-webpages.com/multilingual/iso639a.txt
This seems like useful information for this purpose... and so I've
decided to forward it to the list as well... if this is considered
spamming please let me know so that I can avoid it in
"Robert V. Zwink" wrote:
> Then when someone sends back the $unique_id by clicking on your link, you
> can instuct MySQL to disable the record:
>
> "UPDATE users SET send_email = 'NO' WHERE
> MD5(email_address.'ThisIsASecretKey123')=$unique_id "
This works...with a small change (or is it a f
I have a variable name in a print <<< END and then some text after it. The
thing is, php thinks that the text is part of the variable name, which makes
the variable, and the text after it, not show up. But, if I put a space, it
makes my html not work right. Any ideas?
--
PHP General Mailing
show your code
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 5:18 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Variable problem
I have a variable name in a print <<< END and then some text after it. The
thing is, php thinks that the text is p
How can I tell whether anything was matched and changed after a
mysql_db_query?
If I'm in MySQL's console and I perform a query, it comes back and tells me
something like:
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
And if something matched, 'Rows
${varable}ABC
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 5:21 PM
To: Rick Emery
Subject: Re: [PHP] Variable problem
on 3/22/02 6:18 PM, Rick Emery at [EMAIL PROTECTED] wrote:
show your code
-Original Message-
From: L
$result = mysql_query(.)'
mysql_num_rows($result)
-Original Message-
From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 5:28 PM
To: PHP-General List
Subject: [PHP] MySQL query results
How can I tell whether anything was matched and changed after a
On 22 Mar 2002 at 13:30, Jim Lucas [php] wrote:
> how about giving an example of the error message(s)...
ok Jim. step by step.
1. parse error on line 36 of include.php.
2. then i fixed the error , even made line 36 empty, so the message
should point to line 37.
3. reloaded, and the message
Rick Emery wrote:
> $result = mysql_query(.)'
> mysql_num_rows($result)
Hrm, this is resulting in:
Warning: Supplied argument is not a valid MySQL result resource in
./index.php on line 16
Rows
The query does get executed, and the record does get changed.
The code looks like
Hi,
I have a form with a text field, say userName.
I put a value in that has double quotes (i.e. "foobar") and submit this form.
On output I have this:
The output ends up being a \.
How do I keep the double quotes?
Thanks,
Stephen
On 22 Mar 2002 at 17:27, Rick Emery wrote:
> ${varable}ABC
in quotes you can help php with
{$(varabl)}ABC
>
>
> -Original Message-
> From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 22, 2002 5:21 PM
> To: Rick Emery
> Subject: Re: [PHP] Variable problem
>
>
Red Hat 7.2
OK- I'm going on ahead w/o T1lib for the moment.
compiled and installed php-4.1.2
Now some font stuff is busted.
Any image where I use ImageTTFText
no longer works.
I used these configure options for my php gd functions-
--with-zlib=/usr \
--with-gd \
--e
Hello!
I want to know how I can create email POP accounts from a script PHP.
If somebody can help me, thank ahead of time!
Regards! Julian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
After a bit of research:
--
Rick Emery wrote:
> $result = mysql_query(.)'
> mysql_num_rows($result)
Hrm, this is resulting in:
Warning: Supplied argument is not a valid MySQL result resource in
./index.php on line 16
Rows
--
Rightfully so. mysql_qu
On 22 Mar 2002 at 16:41, Ashley M. Kirchner wrote:
> Rick Emery wrote:
> The query does get executed, and the record does get changed.
>
> The code looks like this:
>
> $conn = @MYSQL_CONNECT($host,$user,$password) ;
> mysql_select_db($database, $conn);
> $query = "UPDATE clients
Red Hat 7.2
OK- I'm going on ahead w/o T1lib for the moment.
compiled and installed php-4.1.2
Now some font stuff is busted.
Any image where I use ImageTTFText
no longer works.
I used these configure options for my php gd functions-
--with-zlib=/usr \
--with-gd \
--e
http://www.php.net/manual/en/function.mysql-affected-rows.php
On Fri, 22 Mar 2002, Ashley M. Kirchner wrote:
>
> After a bit of research:
>
> --
> Rick Emery wrote:
>
> > $result = mysql_query(.)'
> > mysql_num_rows($result)
>
> Hrm, this is resulting in:
>
> Warning: Supp
oops. i see then my previous mail will not help in this case. wasn't
there something called 'affected_rows'? search the online manual for
'affected'.
On 22 Mar 2002 at 17:09, Ashley M. Kirchner wrote:
>
> After a bit of research:
>
> --
> Rick Emery wrote:
>
> > $result = mys
Rasmus Lerdorf wrote:
> http://www.php.net/manual/en/function.mysql-affected-rows.php
Thanks Rasmus. I did try that as well, same result. If I don't bother with the
$result, everything's fine. Like I said, the query runs, and gets executed. The DB
field gets changed as it should and all.
Chris wrote:
> > The query does get executed, and the record does get changed.
>
> seems there is something wrong with the query, can you either echo the query and
> feed it directly to mysql, (e.g. in phpmyadmin) see what happens?
Nope, the query's fine. I can run it manually, and thro
Chris wrote:
> oops. i see then my previous mail will not help in this case. wasn't
> there something called 'affected_rows'? search the online manual for
> 'affected'.
I did. Read my reply to Rasmus as well. :) At this rate, I may just say to heck
with the $result, and always assume some
Hey!
Does anybody use UltraDev for PHP?
Any comments about it?
(Personally I go for Visual PHP Studio)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am a newbie and can't tell you how to do it, but I know that the book
I am reading can! Chapter 27 is titled "Building a Web-based Email
Service". The Book is title "PHP and MySQL Web Development" and I like
it alot. It was recommended on the mysql.com.
http://tangledweb.com.au/
-Dan
--
But did you read the documentation? It states:
int mysql_affected_rows ( [resource link_identifier])
That's an optional link identifier. You don't feed it a result resource.
Just call it without any arguments. The affected rows is tied to a
database connection, not a result set.
-Rasmus
On
vpopmail?
"Dan Harrelson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
| I am a newbie and can't tell you how to do it, but I know that the book
| I am reading can! Chapter 27 is titled "Building a Web-based Email
| Service". The Book is title "PHP and MySQ
I do, and was just thinking of posing a similar question. My question
was specific to the PHAkt app server extension. I've tried it out and
think it's great, though limited. For example, my simple project (my
very first :) calls for inserts into 2 tables from a single form.
Phakt doesn't suppo
I didn't put mailing list I meant Usenet lists.
"Bvr" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
> Why not try www.perl.com ???
>
> I found: http://www.perl.com/cs/user/query/q/6?id_topic=50
>
> bvr.
>
> David Duong wrote:
>
> >This may be the worst plac
empty -- Determines whether a variable is set
gives a boolean result.
$var = 0;
if (empty($var)) { // evaluates true
echo '$var is either 0 or not set at all';
}
if (!isset($var)) { // evaluates false
echo '$var is not set at all';
}
I don't think that
would work. Try:
If you want
I was wondering what is the equvilent of the perl coommand: grep.
Can you list all the files in a certain directory and put it in an array.
Can you list all the files with *.htm in a certain directory and put it in
an array.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
Stristr()
-Original Message-
From: David Duong [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 4:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP] What is the PHP version of Grep?
I was wondering what is the equvilent of the perl coommand: grep.
Can you list all the files in a certain
go to google, put in 'free mysql hosting', press 'feeling lucky' ..
http://www.free-php-hosting.com/
bvr.
Daniel Negron/KBE wrote:
>Does anyone have a good site for free mySQL and PHP hosting ?
>
>
>**DAN**
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
Rasmus Lerdorf wrote:
> But did you read the documentation? It states:
Yes. But, reading it, and my brain actually registering what I was reading, now
that's a different story. :) It _is_ Friday after all. Thanks!
--
H | "Life is the art of drawing without an eraser." - John Gardner
How do I take the current URL and turn it into a variable?
THANKS!!
Phil
When I want to display a table onto the screen I use this code
$query = "SELECT * FROM database";
$result = mysql_query($query);
$num_rows = mysql_num_rows($result);
for ($i = 0; $i < $num_rows; $i++) {
$field1 = mysql_result($result, $i, field1);
$field2 = mysql_result($result, $i, field2);
Hi,
(untested code)
or better still:
$value)
{
// convert $myrow["id"] to $id, etc etc for all fields
// much easier to work with!!
$$key=nl2br(stripslashes($value));
}
echo $id.$heading.$message;
}
?>
Justin French
-
http://indent.com.au
http://
Hi,
This really is pretty easy to find in the manual.
I believe you'd want either $PHP_SELF or $REQUEST_URI, both documented here:
http://www.php.net/manual/en/reserved.variables.php
Justin French
-
http://indent.com.au
http://soundpimps.com
http://hinge.net.au
Phil Sc
Here you go:
Scott
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 9:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] URL information into a variable
How do I take the current URL and turn it into a variable?
THANKS!!
Phil
--
PHP Gener
FWIW, straight from my code, with a few snips:
Justin French
--
http://indent.com.au
http://soundpimps.com
http://hinge.net.au
"Ashley M. Kirchner" wrote:
>
> Rasmus Lerdorf wrote:
>
> > But did you read the documentation? It states:
>
> Yes. But, reading it, and my br
Justin French wrote:
> $sql = "SELECT * FROM news ORDER BY id DESC LIMIT $limit";
You're forgetting (or just didn't read my code), I'm UPDATE-ing, not SELECT-ing.
mysql_num_rows() doesn't work on UPDATE.
Anyway, thanks to Rasmus for pointing out my error.
--
H | "Life is the art of
mysql_query("UPDATE access SET accessVIEW = accessVIEW+1 WHERE accessIP = $proxy_ip");
is there anything wrong with this?
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
I'm willing to help host the project...
I'd be on a slack 8 box with a cable connection... only one IP address.
It's my home connection so we'd have to share bandwidth... but I think
it could be a valuable resource...
-Original Message-
From: J. Scott Johnson [mailto:[EMAIL PROTECTED]]
1.php?2.php
session_start(); session_start();
.. ..
$_SESSION['a'] =$a; echo $_SESSION['a'];
$_SESSION['b'] =$b; echo $_SESSION[
why is the $HTTP_POST_VARS array empty if i use IE? when i used NN, everything's ok.
please help!
-
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
Sorry couldn't think of a better subject for this email :(
This has stumped 7 people so far. I'm not an expert with php, but any help
would be great.
I have the following
$Quantity1
$Quantity2
$Quantity3
and
$Price1
$Price2
$Price3
These variables will eventually make a "chart"/database wit
If this is the explanation the other 7 got, I'm not
surprised they're stumped. :)
You don't seem to explain the formula to determine q100, q300, etc.,
which bugged me, but the text of your question seems to indicate
we don't really need to know this.
> Now the tricky part is $Quantity2 can eit
Lee P Reilly wrote:
> Hi,
>
> I see there a number of PHP scripts/libraries out there for the purpose
> of graphing data. Which one is considered to be the best, most powerful
> / easiest to use? I need to plot X/Y graphs for some data sets with
> vertical error margin lines going along the y-axi
Hi, I've asked this before but I'm still ost.
How can I receive the contents of a remote website through PHP and only display one section of it?
Someone said something about curl.
What is it, where could I get it?
Thanks for your help,
Liam
--
PHP General Mailing List (http://www.php.ne
How much data (in Kilobytes) would I receive on
average per month from this list?
cheers,
Liam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, Mar 23, 2002 at 05:19:05AM +, James Newkid wrote:
> so if $Quantity1 is 10
> and $Price1 is $1.00
> that means each "unit" is .10
>
> so the output would be
> q1 q2 q3 q5 q10 q15 q20 q25 q50 q100 q300 q500 q600 q10
> 0 0 0 0 .10 .10 .10 .10 .10 .10 .10 .10 .10 .10
>
>
On 23-Mar-2002 David Duong wrote:
> I didn't put mailing list I meant Usenet lists.
>
comp.lang.perl.misc
This is not a newbie froup. Read the FAQ, and post your code, or prepare to
be flamed to a crackly crunch.
Regards,
--
Don Read [EMAIL PROTECTED]
--
I have installed PHP using the RPM packages from RedHat. Now I need to
reconfigure PHP to include more options. Is there a way to include
these options when reinstalling the RPM or do I need to ditch the RPM
and compile from the source files?
David McInnis
--
PHP General Mailing List (http:/
mysql_query("UPDATE access SET accessVIEW = accessVIEW+1 WHERE accessIP =
'$proxy_ip'");
Singles quotes around $proxy_ip?
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664
There's an php obfuscator, http://pobs.mywalhalla.net/, and one of the
options is to remove comments.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Oliver Hei
there's also two tools called sed and grep that are available on any unix
system. and probably easily gettable on windblows.
That can probably remove most comments.
Why you would want to remove comments, I don't know.
They are very useful in the future when fixing something or changing
something
Hi, can someone tell me why the following results in evaluated variables
with 2 slashes in front of apostrophys instead of one and how I can modify
it to only add 1? Thanks!
foreach($_POST as $k=>$v){
if (get_magic_quotes_gpc()){
$_POST[$k] = stripslashes($v);
}
$_POST[$k] = addslashes($v);
eval(
can any one tell me what is this
;assert.active= On ; assert(expr); active by default
;assert.warning = On ; issue a PHP warning for each failed
;assert.bail= Off ; don't bail out by default.
;assert.callback = 0 ; user-function to be called if an assertion
;assert.
101 - 168 of 168 matches
Mail list logo