Jason Murray wrote:
>>: Don't know why it's got everyone else stumped.
>>:
>>: "\n" is the new line character. Make sure you use it in "" and
>>: not in ''.
>>:
>>: Jason
>>
>>Unfortunately, that doesn't work either, it changes the \n that
>>appeared at the end of the new line to a single black
wanted to go even further, create a date class and do all your
date manipulation using objects... I've found that easier since I've got a
class already written, but don't know where I've put it now :( so I can't
send it...
Martin
-Original Message-
From: Justin Frenc
${$vNames[1]} = "new value"; // look at variable-variables in the manual
for more info
-Original Message-
From: Gaylen Fraley [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 20, 2002 3:44 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Variable referencing/substitution
How can this be done?
you'll need to make them global then...
that's one thing that kept getting me when I started using php, global vars
are only global if you tell them to be sorta like "local to the global
scope" or something like that :)
-Original Message-
From: Tj Corley [mailto:[EMAIL PROTECTED]]
Sen
try this...
I changed
1. the double quotes in "$pattern = ..." to single quotes
2. escaped the "?"
3. used ereg_replace to do everything, dropping the while loop
$content = "http://www.globalhealth.org/text.php3?id=151
adjfladjfajdfkladfjl;kadjf
jlkadjflkajdflkj jad
the only way php is going to know about a variable is if the server the
script is on is sent the variable, the normal way of doing that is through
posting/getting a page/script
Martin
-Original Message-
From: Andrew V. Romero [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 21, 2002 2
*light hearted reply* blasphemy! sacrilege!! how can you ask a php mail list
about converting code to another language?? (paraphase coming...) "php is
the one true language and you shall not code any other language before it"
:)
Martin
-Original Message-
From: Andrew V. Rome
whichever way the original password was encrypted, encrypt the incoming
password the same way, ie. if the original was encrypted in php, encrypt the
incoming password in php before passing it to the sql statement, similarly
if the original password was encrypted using mysql.
Martin
s the name
of the image so when you come to display it, you'll know if there's an image
for that record...
Hope that helps.
Martin
-Original Message-
From: will hives [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 22, 2002 10:01 AM
To: [EMAIL PROTECTED]
Subject: [PHP] fi
Hello! Is there a PHP-function to split binary files into pieces of a
several size and glue them together later?
Martin
--
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
and I think, also, if it's the last command then you don't need to
semi-colon (I put it in anyway for completeness, etc) found that out by
accident...
-Original Message-
From: val petruchek [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 1:02 AM
To: PHP
Subject: Re: [PHP] Re:
try changing:
echo "$$temp\n";
to
echo $$temp."\n";
or even
echo ${$temp}."\n";
does that work?
-Original Message-
From: Thorsten Wandersmann [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 12:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] to evaluate ...
somewhere in the form put:
-Original Message-
From: Michael P. Carel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 1:48 PM
To: php
Subject: [PHP] Form Problem
Hi there,
I have a problem here regarding the form table name variable (i.e ), when i used Href tags to send t
$result = `ls foo*`; // :) :#
???
Martin
-Original Message-
From: Todd Cary [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 3:17 PM
To: [EMAIL PROTECTED]
Subject: [PHP] I lost the message...
I am embarrassed to say that I lost the anser to my question on the
syntax
$limit = "5000";
if(strlen($text) > $limit)
{
$text = substr($text, 0, $limit);
$text .= "...sorry, text was too long";
}
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 3:34 PM
To: php
Subject: [PHP] seems easy...
Hi,
Really
on a
cd. It's a part of a
backup-mechanism I'm wirting in PHP.
Martin
--
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]
"error on line 0", maybe it's the auto-prepend file is not there?
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 3:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Warning: Failed opening '' for inclusion (.)
in Unknown on line 0
it's treating a string as a character array - it's documented somewhere in
the manual, can't remember where though :( - not long ago someone was
saying that the new way it to use curly-brackets, but square brackets still
work for backwark compatibility.
-Original Message-
From: v0idnull
your first thought was correct - it sets it to 1800, it's NOT accumulative.
it would have something to do with ignore_user_abort(true); and also is
your while loop's exit check working?
Martin
-Original Message-
From: Matthew Delmarter [mailto:[EMAIL PROTECTED]]
Sent: Frida
ok, i wont!! not trying to do reverse psychology are you?
-Original Message-
From: Philip J. Newman [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 11:34 AM
To: [EMAIL PROTECTED]
Subject: [PHP] A link
[link snipped]
Don't click the above link.
no, that shouldn't affect it - ignore_user_abort() keeps the script going
even if the user aborts (I'm assuming you already knew that...) so the only
thing that I can think of that's keeping the script going it the while loop
- check the exit condition to make sure it does actually
syntax: document.forms["form_name"].elements["element_name"]
so: document.forms["fname"].elements["array[]"].somethingelse
-Original Message-
From: Rodolfo Gonzalez [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 1:55 PM
To: [EMAIL PROTECTED]
Subject: [PHP] array[] and Javascri
Hm, it could be that IE tries to reload the picture (which isn't there
anymore because the form-data has been expired). Perhaps saving the
picture temporarly on the server will prevent the problem.
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [
Hello! Somewhere I read something on how to connect to a mail-server
with php and to send and receive mails on a very "basic" level (calling
"Helo" to the mail-server and so on). Does anybody know, where I can get
those information exactly?
Martin
--
PHP Genera
me is "extension"?
Just asking you to doublecheck since the default would be
"extensions".
/Martin
--
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]
http://www.wotsit.org/search.asp?page=2&s=animated
I haven't looked at the docs there for mpeg - but the other one's i've
looked at are really useful...
Martin
-Original Message-
From: Jon Farmer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 12:2
so with :
if (true||false)
php will stop processing when it comes across the "true"
and with :
if (false&&true)
php will stop processing when is comes across the "false"
in both cases, this means that whatever the second expression is, it wont
get "executed"
Hm, the easiest way would be, try
where myfile.js contains simply nothing. Everytime the file is downloaded,
someone uses Javascript.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
time, echo
it once only.
{
$old_TNum = $mydata->TNum;
$body .= "".$mydata->TNum.":";
}
$body .= "".$mydata->AU."";
}
------
tada!!
Martin
---
strtoupper()
-Original Message-
From: Philip J. Newman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 2:12 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Change Text to CAPS.
Is there anyway that I can change a string with lettle letters to caps?
Philip J. Newman
Philip's Domain
there's a directive in the php.ini file, something like "magic_quotes" or
something (too lazy to look...), set that to 0 (zero) or use stripslashes()
(this might have an underscore in the name, again too lazy to check) on the
vars
Martin
-Original Message-
From: Jon
Through email - Y?
-Original Message-
From: jtjohnston [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 2:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Martin: [PHP] How? :)
Martin,
Are you guys getting yours by email or monitoring a newsgroup reader?
John
Works wonderfully
Isn't there a function br2nl() and it's relative nl2br() ??
-Original Message-
From: Jason Murray [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 3:14 PM
To: 'Jon'; [EMAIL PROTECTED]
Subject: RE: [PHP] Swapping for \n... ?
> I'm processing a form but all the functions I've
dunno if this'll help, but try changing these two lines
$this->$obj = new test1;
$test = new test2;
to these
$this->$obj = &new test1;
$test = &new test2;
see if that helps - other than that - anyone else?
-Original Message-
From: Aric Caley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
1. look for it
2. if it's not there
2a. wait a bit
2b. go back to 1.
-Original Message-
From: Wade Barrance [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 10:57 AM
To: [EMAIL PROTECTED]
Subject: [PHP] wait for existance of a remote file.
I need a function that will wai
sure about that ?
-Original Message-
From: jtjohnston [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 2:10 PM
To: [EMAIL PROTECTED]
Subject: [PHP] .
.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
does executing $query through the mysql interface return anything? I'm
thinking there's either:
1. An error in the SQL - but it looks good to me, or
2. It returns no records
That's the only thing I can think of.
Martin
-Original Message-
From: Mason Batley [mailto:[
use: { header("location: new_full_url_here"); exit; }
-Original Message-
From: Benjamin deRuyter [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 9:42 AM
To: PHP
Subject: [PHP] redirection rather than include()
This is a PHP newbie trying to figure something out.
I am creatin
something like ?
$cntr = 0;
echo "";
while ($r = mysql_fetch_array($result0))
{
$cntr++;
$cityid = $r["t_city_id_city"];
$cityname = $r["t_city_name"];
echo "
$cityname
";
if ($cntr % 2 == 0) echo "";
} // from while result 0
echo"";
-Original
that unless I REALLY have to
Martin
PI/2),
etc]
I know there's probably loads of code already written to do what I'm
thinking of doing, but there's no substitute in starting from scratch and
getting something working yourself :)
Thanks Torben, that helped.
Martin
-Original Message-
From: Christopher Will
that's alright - i'm using 4.0.6 and the suppression works
thnx again
-Original Message-
From: Lars Torben Wilson [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 10:33 AM
To: Christopher William Wesley
Cc: [EMAIL PROTECTED]; Martin Towell
Subject: Re: [PHP] s
$lines = file("filename_here.blah"); // read in file as an array
$content = implode("\n", $lines); // join it all back together
$new_cont = ereg_replace("from", "to", $content);
fopen(...); fputs(..., $new_content); fclose(...);
if your intent is to replace all new lines with 's then use
is that a direct copy from your code? - if it is, there's two errors
1. you have a comma just before the closing backet
2. the function is : implode(string glue, array pieces)
so that would be : $content = implode("\n", $lines);
ie. the two arguments are the wrong wa
i believe you're meant to serialise objects and then register the serialised
version?? Don't quote me on that, never used sessions, but I didn't
read/hear it somewhere
Martin
-Original Message-
From: PHP-List [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05,
you have :
24. header("www-Authenticate: Basic realm='Private'");
25. header("HTTP/1.0 401 Unauthrized");
I have (and this works)
Header ("WWW-authenticate: Basic realm=\"$blah\"");
Header ("HTTP/1.0 401 Unauthorized");
* "Unauthrized" should be "Unauthorized" - missing "o"
ng"
remember, to get the vars back to php, you'll need to make a request to the
server using one of serveral methods
hope that helps
Martin
-Original Message-
From: Don [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 9:00 AM
To: php list
Subject: [PHP] How do I dis
what happens if you do this?
$result = mysql_query("SELECT MAX(Thought_Num) as Thought_Num FROM
quotes",$db);
I'm thinking that the column name in your original query is being called
"MAX(Thought_Num)" and not "Thought_Num".
Martin
-Original Message
I think it has something to do with the lines being too long, try throwing
in a few carriage returns and see if that solve your problem
Martin
-Original Message-
From: nina [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 5:21 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Fw
that should be okay - it's to make sure that it is exactly equal to (as
opposed to equates to be equal to)
eg (0 === false) => false
(0 == false) => true
-Original Message-
From: Ben Crawford [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 2:28 AM
To: [EMAIL PROTECTED]
if you set up the xml_set_character_data_handler(), maybe this isn't called
for , but it will be called for (??)
you might want to check that 'cause I haven't :)
Martin
-Original Message-
From: Christian Stocker [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2
this is what I'm using:
$ch = curl_init($gat_url); // url to post to
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); // contains the XML
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$x = curl_exec($ch);
curl_close($ch);
-
I've found that you can specify a function anywhere in the page and call it
anywhere in the page so:
\n"; }
foobar();
?>
would work and display the text twice, without errors/warnings
I haven't looked at the php's source code, but maybe it's a two pass parser
(??) first it gets all the functio
what about words at the start of the string??
eg
$str = "One can see this is or was a test for short words, although an,
should be deleted to.";
-Original Message-
From: Edward van Bilderbeek - Bean IT [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 10:47 AM
To: [EMAIL PROTECTE
what about?
$str = "a bc def ghij klmno p qr i'd do, it. stu vwxy a";
$az = "[a-zA-Z']";
$str = str_replace(",", " , ", $str);
$str = str_replace(".", " . ", $str);
$str = trim(preg_replace(array("/ $az /", "/ $az$az /", "/ $az$az$az /"), "
", " $str ")); // couldn't get "/ [a-zA-Z]{1,3} /" to w
remember to escape the escape character so php passes it onto the reg.ex.
function correctly, so:
if(eregi("\\+",$variable))
-Original Message-
From: Tyler Longren [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 12:54 PM
To: Jim Lucas [php]; Leif K-Brooks; [EMAIL PROTECTED]
Su
try this:
$str = $s24; // this is the string you want to look at...
$dst = '\\1\\2';
foreach (array("http://";, "mailto:";, "telnet:", "news:";) as $src)
{
$str = ereg_replace("(".$src."[^ ]*)( *)", $dst, $str);
}
echo $str;
-Original Message-
From: jtjohnston [mailto:[EMAIL PROTECT
does using system() work?
what about back-ticks? - `funky script stuff here`;
-Original Message-
From: Jason Rennie [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 3:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Execing problems
Hi all,
I have a seperate perl script that I need
I think what'll you'll need to do is look through the phpinfo() output and
piece together all the parts, eg $HTTP_HOST (or should that be
$_HTTP["HOST"] ?), $PHP_SELF, etc.
If anyone knows of a better way, I'd like to know too
Martin
-Original Message-
From:
why can't something
display this stack - or doesn't this stack contain that type of information?
Is this the right mailing list - maybe I should have sent it to php-dev ???
Martin
what about this?
$contents = str_replace('', '', $contents);
-Original Message-
From: Steven Jarvis [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 09, 2002 8:46 AM
To: [EMAIL PROTECTED]
Subject: [PHP] escaping ?>
I'm trying to do some string replaces on XML files to import them i
might be the header("location..."); bit - you might need to specify the
full address
-Original Message-
From: Sean Hurley [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 11, 2002 3:40 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Forms and IE
Please forgive me if this has been covered bef
when you say it doesn't work, do you mean that you get an error message or
it just doesn't write the text to the image?
-Original Message-
From: Adrian Murphy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 1:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] image generation issues
ebruary 12, 2002 2:04 PM
To: Martin Towell; [EMAIL PROTECTED]
Subject: Re: [PHP] image generation issues
i get 'Could not read font in..'
i set permissions to 777 on both file and folder
- Original Message -
From: "Martin Towell" <[EMAIL PROTECTED]>
To: "
I guess I'm lucky living in Australia then - there's quite a few places
using ASP but there's a HUGE increase in the number of businesses who are
starting to use PHP. Maybe you should all move to Oz?? hehehe :)
Martin
-Original Message-
From: Jason Murray [mailto:[
maybe have a client id that they need to send with each request and have the
checking script use that, instead of the ip or url, etc
-Original Message-
From: Kevin Stone [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 10:32 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Limiting us
Have you set up the [mail function] section of your php.ini file ?
-Original Message-
From: Dr. Shim [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 12:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Troubles With Mail Function
Hello. I'm pretty new to PHP, so if this is a dumb
mail -t -i')
if your problem is caused by anything else, then I can't help you there,
maybe someone???
HTH (hope this helps)
Martin
-Original Message-
From: Dr. Shim [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 12:26 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP
Hi
I am having some problems with the 'pack' function. Some values just
doesnt come out right. For instance, 0xa0 turns into x81a0.
Here is some code I used for testing. It packs the value, prints it.
Then unpacks the value and prints it
# This is wrong, but note that unpack gives the correct
also remember that strictly speaking, _all_ html attribute values _should_
be quoted
-Original Message-
From: Johnson, Kirk [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 9:07 AM
To: PHP
Subject: RE: [PHP] Filling Forms with $variables
Enclose the value in quotes, like so:
I think the SMTP would be same as you use for your email client (outlook,
eudora, other?)
-Original Message-
From: Dr. Shim [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 11:33 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Troubles With Mail Function
Alright, I will show you
yeah - going through a seb server, you're going to get the executed version
of the code and not the code itself.
-Original Message-
From: Kevin Stone [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002 9:19 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Anyway to open a PHP file a
f it's possible) but on unix, use the command "ln"
HTH
Martin
-Original Message-
From: Kevin Stone [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002 9:44 AM
To: 'Andreas Gietl'; [EMAIL PROTECTED]
Subject: RE: [PHP] Anyway to open a PHP file and view its c
try something like this (not tested):
0)
$sql .= " AND `keywords` LIKE '%".$getme_arr[$i]."%'";
$sql .= " ORDER BY `id` ASC LIMIT 0, 30";
?>
-Original Message-
From: Philip J. Newman [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002 11:27 AM
To: David Robley
Cc: David
or read the original file into memory, reopen the file for writing, write
the first prepend bit, then write what you just read
-Original Message-
From: Lars Torben Wilson [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002 1:18 PM
To: John Smythe
Cc: [EMAIL PROTECTED]
Subject: Re:
here but you do have to do some of the work :-)
And Philip, sorry, I'm not a real Kiwi - just here for a year or so from
Oz.
--
David Robley
Temporary Kiwi!
--
database search logic like this can get _REALLY_ complex - you could
1) combine phrase and word search
eg something "some text together"
2) allow the user to decide which logic function to use
eg foo and bar or hello not world
3) and combine the two
eg foo and "bar lala" or "hello world" not anything
I'll let you figure out how to do all that - I've done it once, lost the
code and now have too many white hairs to think about doing it again!!
Martin
(Not-a-Kiwi)
tion" has no, and can't have, and
code.
Please correct me if I'm wrong
Martin
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 16, 2002 3:31 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Polymorphism question
I've also done C and C++
Isn't this something to do with shared memory? I haven't played with shared
memory before, but this sounds like it might work.
Martin
-Original Message-
From: Philip Hallstrom [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 16, 2002 8:37 AM
To: Peter J. Schoenster
submit back to the same page - or include that page
Martin
-Original Message-
From: Jason Dulberg [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 9:23 AM
To: [EMAIL PROTECTED]
Subject: [PHP] form submission error trapping
I am working on some error trapping for several
$argv and $argc are prob. what you're after - dunno if there's any parameter
parsing functions - but it's a start
HTH
Martin
-Original Message-
From: Bostjan Marusic [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 10:00 AM
To: [EMAIL PROTECTED]
Subject: [PHP] R
something like:
not tested but should work - just expand on it
Martin
-Original Message-
From: Jason Dulberg [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 10:22 AM
To: Steven Walker
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] form submission error
2002 10:40 AM
To: Martin Towell
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] form submission error trapping
Thanks for the code Is there a way to keep track of what fields had the
errors as its possible for people to have like 5 errors?
Thanks again.
Jason
-Original Message-
From: M
Adobe Acrobat 5 or 6 - whichever's the latest version - can grab web pages
and convert them to pdf.
Depends if you want to fork out to buy it
Martin
-Original Message-
From: Jeff D. Hamann [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 3:39 PM
To: [EMAIL PROTECTED]
Su
make sure the url in the header("location:") is a full url and not a
relative url
Martin
-Original Message-
From: Robbie Newton [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 4:06 PM
To: [EMAIL PROTECTED]
Subject: [PHP] help with Header call
Hello everyone,
hi john,
maybe this is the right way
$where="id like ".$id;
$query="select * from ccl where '".$where."' order by AU desc";
$result=mysql_query($query);
regards
martin
> -Ursprüngliche Nachricht-
> Von: jtjohnston [mailto:[EMAIL PROTECTE
window.document.frmName.elements["poly[]"].value !!!
-Original Message-
From: JSheble [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 19, 2002 9:41 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Novice Question
with this type of naming convention, how would you write a javascript
fun
shouldn't matter - php would type cast one to other and then compare
-Original Message-
From: DL Neil [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 10:24 AM
To: Tyler Longren; John Gurley; [EMAIL PROTECTED]
Subject: Re: [PHP] code
Is $inst an int or a string?
=dn
> ma
try this - in pseudo-code, can't do everything for you :)
max = 3
col = 0
echo "table"
while (row = db_results)
if (col == 0) echo "tr"
echo "td data /td";
if (col == max - 1) echo "/tr"
col = (col + 1) % max
wend
if col > 0
for i = 1 to max - col
echo "td nbsp td"
next
ec
IF it is deprecated in 4.1.0, then what are we meant to use in place of it?
Martin
-Original Message-
From: Darren Gamble [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 9:04 AM
To: 'Chris Boget'; PHP General
Subject: RE: [PHP] argv and argc
Good day,
The a
looks like there's a problem with this line:
test link
try using this line instead:
">test
link
looks like you were missing the end quotes and closing "bracket" of the
anchor tag
See how that goes
Martin
-Original Message-
From: WG4- Cook, Janet [
that makes me think that your page isn't being executed through php. why
this is happening, i don't know - maybe a misconfigured web server
Martin
-Original Message-
From: WG4- Cook, Janet [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 10:50 AM
To: Martin Towell
reg.ex. something like (not tested):
"]*>"
this would give you the entire anchor tag, then go from there?
or what about using the XML parsing routines, get it to find the anchors and
give you it's attributes, then go from there?
Martin
-Original Message-
F
what about just include'ing it?
-Original Message-
From: DigitalKoala [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 11:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP] really hopelessly stuck on this problem!
hi folks,
i've been tearing my hair out over a redirection problem
ble to help you.
Martin
-Original Message-
From: WG4- Cook, Janet [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 1:18 PM
To: Martin Towell; WG4- Cook, Janet; PHP List
Subject: RE: [PHP] Help for passing variable to all pages
That's not a lot of help - its a new installati
I'm assuming you have an id in that table, so all you need to do is pass the
details page the id and the details page can then display whatever you want
it to display
-Original Message-
From: mm fernandez [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 3:21 PM
To: [EMAIL PRO
can shed light on this subject, I'd be interested too
Martin
-Original Message-
From: bob [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 12:39 AM
To: [EMAIL PROTECTED]
Subject: [PHP] how the "ticks" works?
I don't understand how the 'ticks' wor
(not tested but...) something like:
$string = ereg_replace("\([0-9]* Test\)", "", $string);
if you want to keep the backets, then:
$string = ereg_replace("\([0-9]* Test\)", "()", $string);
HTH
Martin
-Original Message-
From: bvr [mailto:[EMAIL
themselves. And
no doubt there will be more in the furure...
Just me 2c worth
Martin
-Original Message-
From: Brian Paulson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 11:06 AM
To: 'bvr'; [EMAIL PROTECTED]
Subject: RE: [PHP] Removing every thing between ( )
Ok hel
user price[] as the name
you'll also need to pass the ids as $id[]
so you know which one you're updating
-Original Message-
From: Jennifer Downey [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 11:51 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Using one submit button
Hi all,
I t
I think you can get everything after the ? in the URL with $QUERY_STRING
but I think that it would be a bit dangerous to just accept what's passed, I
think some checking should be done before you use $QUERY_STRING as is
-Original Message-
From: Jason Soza [mailto:[EMAIL PROTECTED]]
Sent:
701 - 800 of 1954 matches
Mail list logo