: [PHP] question about GD and colors
try imagecreatetruecolor() instead of imagecreate()
- Original Message -
From: Philipp [EMAIL PROTECTED]
To: Jean-François Marseaut [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, January 27, 2003 4:21 PM
Subject: Re: [PHP] question about GD
Try
$query = SELECT Newsheadline, News, Contact FROM news WHERE Newsid =
{$_GET['id']};
HTH
Danny.
- Original Message -
From: Frank Keessen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 10:50 AM
Subject: [PHP] Question about $_GET
Hi All,
Can you please
SELECT Newsheadline, News, Contact FROM news WHERE Newsid = $_GET[id];
- removed single quotes
Frank Keessen wrote:
Hi All,
Can you please help me with the following problem? I've had code wich was running fine with php till i've upgraded to PHP version 4.2.3.
The original code line was:
= mysql_query($query) or die (Error in query: $query. .
mysql_error());
Regards,
Frank
- Original Message -
From: Danny Shepherd [EMAIL PROTECTED]
To: Frank Keessen [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 11:54 AM
Subject: Re: [PHP] Question about $_GET
Try
-
From: Danny Shepherd
To: Frank Keessen ;
Sent: Wednesday, January 15, 2003 11:54 AM
Subject: Re: [PHP] Question about $_GET
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;
Sent: Wednesday, January 15, 2003 11:54 AM
Subject: Re: [PHP] Question about $_GET
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 11:57 15-1-03, Marek Kilimajer wrote:
SELECT Newsheadline, News, Contact FROM news WHERE Newsid = $_GET[id];
- removed single quotes
I think that that is a really bad advice.
Let me explain.
For one, the single quotes are not in the way here because the query is
written between double
Chris Hayes wrote:
Let me explain.
For one, the single quotes are not in the way here because the query
is written between double quotes.
Then, leaving out the single quotes like Marek suggests will only work
because PHP is too programmer-friendly.
But the indexes of such arrays should
- Original Message -
From: Danny Shepherd [EMAIL PROTECTED]
To: Frank Keessen [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 11:54 AM
Subject: Re: [PHP] Question about $_GET
Try
$query = SELECT Newsheadline, News, Contact FROM news WHERE Newsid =
{$_GET['id
On Wednesday 15 January 2003 18:57, Frank Keessen wrote:
Thanks, but not working:
The error message:
Error in query: SELECT Newsheadline, News, Contact FROM news WHERE Newsid =
. You have an error in your SQL syntax near '' at line 1
Here are both lines:
$query = SELECT Newsheadline,
Make life easy for yourself:
$query = SELECT Newsheadline, News, Contact FROM news WHERE Newsid = .$_GET['id'];
- Original Message -
From: Frank Keessen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 4:50 AM
Subject: [PHP] Question about $_GET
Hi All,
Can you
--- Frank Keessen [EMAIL PROTECTED] wrote:
So the code looks like this:
$query = SELECT Newsheadline, News, Contact FROM news
WHERE Newsid = $_GET['id'];
But all i'm getting in my browser is:
parse error, expecting `T_STRING' or `T_VARIABLE' or
`T_NUM_STRING'
I could not tell if your
I agree with Chris, the quote should stay there to prevent confusion.
Nevertheless, I often run in the same problem. Sometimes, the only way to
fix it is by removing the quotes ($_GET[id]).
I know PHP documents goes against this, but it dosn't always work with the
quotes.
Perhaps the dev
On Thursday 16 January 2003 04:35, [-^-!-%- wrote:
I agree with Chris, the quote should stay there to prevent confusion.
Nevertheless, I often run in the same problem. Sometimes, the only way to
fix it is by removing the quotes ($_GET[id]).
I know PHP documents goes against this, but it
: Wednesday, January 15, 2003 1:22 PM
Subject: Re: [PHP] Question about $_GET
Make life easy for yourself:
$query = SELECT Newsheadline, News, Contact FROM news WHERE Newsid =
.$_GET['id'];
- Original Message -
From: Frank Keessen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday
Don wrote:
I'm using I.E. 6.
Its not a browser thing, but a PHP thing.
I noticed that register_globals was set ON in my php.ini file so I changed it to OFF in as per the security warning. I've noticed a side effect. When I submit a form via POST and then go back from the results page, my
Don wrote:
I'm using I.E. 6.
Its not a browser thing, but a PHP thing.
I noticed that register_globals was set ON in my php.ini file so I
changed it to OFF in as per the security warning. I've noticed a side
effect. When I submit a form via POST and then go back from the results
Don wrote:
Thanks for your response but I don't think this is what I was asking; could
be wrong though.
I re-read your post and, of course, you are right. I mis-read it! I have
heard of this Back button and data missing and I'm sure its come up
before, but I don't remember the answer. I can
Thanks for your response but I don't think this is what I was asking; could
be wrong though.
I re-read your post and, of course, you are right. I mis-read it! I have
heard of this Back button and data missing and I'm sure its come up
before, but I don't remember the answer. I can only
I'm using I.E. 6. I noticed that register_globals was set ON in my
php.ini file so I changed it to OFF in as per the security warning.
I've noticed a side effect. When I submit a form via POST and then go
back from the results page, my form has been cleared, i.e.., as if the
page has been
How about:
if (!$conn = mysql_connect($host, $user, $pass)) {
include 'static_html.inc';
exit;
}
print Welcome, yes the database is connected;
exit ends the script, nothing after its use is executed.
Regards,
Philip Olson
On Thu, 19 Dec 2002, Beauford.2002 wrote:
Hi,
On Thursday 19 December 2002 04:45 pm, Beauford.2002 wrote:
I want to be able to exit out of a PHP webpage and
return to the calling page if certain conditions are not met.
It appears using exit() will do this, but I am unclear exactly how to use
it.
exit won't do what you want. exit does
19, 2002 4:55 PM
Subject: Re: [PHP] Question about the exit() command
How about:
if (!$conn = mysql_connect($host, $user, $pass)) {
include 'static_html.inc';
exit;
}
print Welcome, yes the database is connected;
exit ends the script, nothing after its use is executed
What do you mean return to the calling page?
The exit() command simply ceases processing of PHP and HTML.
I believe what you're saying is that if the user clicks on a PHP hyperlink on the first
page, then goes to another page. If there is something wrong there, you nwant to
return
to the page
[EMAIL PROTECTED]
Cc: PHP General [EMAIL PROTECTED]
Sent: Thursday, December 19, 2002 4:55 PM
Subject: Re: [PHP] Question about the exit() command
How about:
if (!$conn = mysql_connect($host, $user, $pass)) {
include 'static_html.inc';
exit;
}
print Welcome, yes the database
I think this is happening because you're comparing apples to oranges.
Your first comparison causes an integer to be compared to a string.
Because the string string evaluates to the integer value 0, the
comparison succeeds. The manual recommends the use of the identical
comparison operator (===)
Is your question about dynamically listing the contents of all directories
and/or files below the /members/ dir, or is your question about unzipping
zipped files?
I *think* it's the former, in which case, you should play around with some
of the code examples on zend.com
To convert \n's to br /\n's on any string, use nl2br().
To trim excess white space (\n, \r, [space] \t, etc) from both the beginning
and end of a string, use trim().
Eg:
?
$str = this is a string with an\nenter in the middle, and two at the
end\n\n;
$str = trim($str);
$str = nl2br($str);
echo
Sure you can, however,
1) u prob. want $_SESSION['name'] = $_POST['name'];
2) remember that if you are calling this within the scope of a function you
will have to use $GLOBALS to declare $name as a global before you utilise
session_register.
Todd.
-Original Message-
From: Randy
You need to turn register_globals off in your php.ini
file. This is default in php 4.2+
Try this article for a great overview:
http://www.webmasterbase.com/article/758/8
olinux
--- swade [EMAIL PROTECTED] wrote:
On my laptop i still have 4.11 apache,linux on it
but its just for
Somewhere in an article or the manual it *strongly* advises using in {} not
[] for access of a certain character in a string.
Justin
on 07/09/02 5:34 AM, Robert Cummings ([EMAIL PROTECTED]) wrote:
Some time ago i wrote some code where I used the now deprecated
form of accessing characters
]
To: Meltem Demirkus [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, September 06, 2002 12:36 PM
Subject: Re: [PHP] question about Location
Not quite sure what you are getting at here? A hyper link would direct
the user to another page :-)
If you mean after a timeout/auto-magically perhaps you
header I wrote ? header(Location: yournewpage.php);
?
- Original Message -
From: Marek Kilimajer [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Friday, September 06, 2002 12:55 PM
Subject: Re: [PHP] question about Location
? ? doesn't mean output unless you use echo or print or
; charset=windows-1254
/HEAD
BODY
and line 37 is the header I wrote ? header(Location: yournewpage.php);
?
- Original Message -
From: Marek Kilimajer [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Friday, September 06, 2002 12:55 PM
Subject: Re: [PHP] question about Location
Step 1, please limit your lines in your emails to mailing lists to 78
chars or less in width. Your entire message shows up as 2 lines for me.
Step 2, you need to install the php-mysql rpm. Then everything should
work.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To
Kelly Meeks wrote:
Hi folks,
I'm learning shell scripting via linux, and have written a script that creates the
core files necessary for a users website from a master set of files.
Works from the shell just fine (bash makethesite.sh username pathtoputfiles
pathtogetfiles)
Trying to
try something like:
$bashoutput=shell_exec('/usr/bin/bash makethesite.sh username pathtoputfiles
pathtogetfiles');
if that doesn't work can you use the system() function instead?
James
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
param2 param3');
echo $bashresult;
Doesn't execute the script, nothing in $bashresult
Kelly
- Original Message -
From: Robert Cummings [EMAIL PROTECTED]
To: Kelly Meeks [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, August 16, 2002 4:44 PM
Subject: Re: [PHP] question about executing
execute the script, nothing in $bashresult
Kelly
- Original Message -
From: Robert Cummings [EMAIL PROTECTED]
To: Kelly Meeks [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, August 16, 2002 4:44 PM
Subject: Re: [PHP] question about executing a bash shell script...
Kelly Meeks
On Saturday 17 August 2002 04:35, Kelly Meeks wrote:
Hi folks,
I'm learning shell scripting via linux, and have written a script that
creates the core files necessary for a users website from a master set of
files.
Works from the shell just fine (bash makethesite.sh username pathtoputfiles
On Saturday 03 August 2002 10:19, Varsha Agarwal wrote:
Hi,
I am creating a session for user autentication. As I
read from the help there are two ways for passing
session IDs
-Cookies
-URL parameter.
By default its passing it through cookies. I don't
want to use any cookies in my
Hi,
Friday, August 2, 2002, 11:29:39 PM, you wrote:
JV Tried to post this to the news group before, but I'm having trouble getting
JV to my news server from work - hopefully I'm not posting a duplicate.
JV I think I'm seeing the problem I'm seeing because I'm getting a copy of a
JV var instead
On Thu, Jul 18, 2002 at 02:28:23PM -0700, Fargo Lee wrote:
When viewing examples of using if and elseif I often see the example ending
with an else like ...
if($a == '1'){
echo '1';
} elseif ($a == '2'){
echo '2';
} else {
echo '0';
}
On a side note, switch would be more efficient:
It's the first option in the installation instructions. Follow the part
about installing PHP as an Apache module and you'll be set.
-Original Message-
I am reading a book about php, in its security section, it says it is more
secure, as well as more efficient when installing PHP, to
You just need the XML and/or XSL as a string. xmldoc() is creating a DOM
object, which xslt_process() can't use.
In you example that does not work properly, change this:
$xsl = xmldoc(implode(,file(test.xsl)));
$xml = xmldoc(implode(,file(test.xml)));
to not use xmldoc(), like this:
$xsl =
-Original Message-
From: Lee Doolan [mailto:[EMAIL PROTECTED]]
Sent: 14 June 2002 01:25
Miguel == Miguel Cruz [EMAIL PROTECTED] writes:
Miguel Why does this:
Miguel $x = 3 + 5 * 7;
Miguel produce different results from this:
Miguel $x = (3 + 5) * 7;
I don't think this is possible to setup a global way you're thinking, but I
do believe that you can still accomplish the effect you're looking for.
First of all, exactly what kind of information will you be storing in the
array? You say it needs to be empty the 'first time in'. Does that mean
Cookies
Session variables
- Original Message -
From: Don [EMAIL PROTECTED]
To: php list [EMAIL PROTECTED]
Sent: Friday, June 14, 2002 2:08 PM
Subject: [PHP] Question about global variables
Hi,
Don't know if this is possible but is there a way to create a single variable (in
On 13 Jun 2002, Lee Doolan wrote:
the arrays below have dates like
dateA= array( 0= 03, 1= 22, 2= 02)
for 22march2002.
why does this work:
$retval= ($dateA[2] != $dateB[2])
? strcmp($dateA[2], $dateB[2])
: (($dateA[0] != $dateB[0])
?
, June 14, 2002 10:13 AM
To: Lee Doolan
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] question about ? :
On 13 Jun 2002, Lee Doolan wrote:
the arrays below have dates like
dateA= array( 0= 03, 1= 22, 2= 02)
for 22march2002.
why does this work:
$retval= ($dateA[2] != $dateB[2
Miguel == Miguel Cruz [EMAIL PROTECTED] writes:
Miguel On 13 Jun 2002, Lee Doolan wrote:
the arrays below have dates like dateA= array( 0= 03, 1=
22, 2= 02)
for 22march2002.
why does this work:
$retval= ($dateA[2] != $dateB[2]) ? strcmp($dateA[2],
The only way to execute code stored in a varaible (string) is to send it to
the eval() function. Assuming you're not doing this then you're perfectly
safe. Learn more about the eval function..
http://www.php.net/manual/en/function.eval.php
-Kevin
- Original Message -
From: Nightshade
Al,
Interesting. I use Mozilla and I've never had any emails rejected or
heard of anyone else have it happening. Have you some more information
or is this an urban legend?
Regards
Chris
Al wrote:
Sorry if this shows twice. I originally posted it with Mozilla and forgot
that this newsgroup
Opps, hit the reply rather than the reply group. I normally use Moz.
I'm subscribed to 8 newsgroup servers. All work perfect except news.php.
I replied to you message with Moz; but it doesn't show.
This one is with IE
Chris Hewitt [EMAIL PROTECTED] wrote in message
[EMAIL
On Tuesday 14 May 2002 03:06, Dan McCullough wrote:
I have a script pulling in certain text from a site. I want the script to
then from that retrieved text, to replace the incorrect domain with another
domain.
What is a way that I can do that, I know the domain that its going to put
in the
On Mon, 6 May 2002, Luc Saint-Elie wrote:
I use a class to parse a RSS feed, my problem is that when the distant
site is down my own site is stuck (because my class waits for an answer
that doesn't come..) The logical answer is to use a fsockopen before to
control the connection. Reading the
What will a database-driven web site do for?
If you have to ask, you have no need
How does it relieve stress on me?
It doesn't. Quite the opposite
What is it good for?
If you have to ask, you have no need
Why should I learn it?
If you have to ask, you have no need
-Original
It all depends on what the needs for your site(s) are.
Typically, you use database driven web sites as a means of storing data
separate from the layout and style of your web site. The advantage of this
is that you can just update your data in the database without affecting the
layout and style
At 29.03.2002 10:22, you wrote:
Hello,
What will a database-driven web site do for? How does it releive stress on
me?
What is it good for? Why should I learn it? Thanks,
Think of a template,
You set up a design , and put database data in it.
If you have any changes on your website, you´ll
Though I just made a flat database (one table only) the attached article was
useful in learning how to put together a mysql database using php.
Hope this helps,
Hugh
- Original Message -
From: GENESiS DESiGNS [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 29, 2002 2:22 AM
try it like this:
switch(true){
case strstr($line,zip):
echo found zip;
break;
}
On Thu, 7 Feb 2002 14:29:45 -0600, Chuck Barnett wrote:
Hello, I am trying to find out if a string is in a line being read
from a
file. I should use strstr for this I am pretty sure.
I want to do
At 09:32 PM 1/15/2002 -0600, Michael Sims wrote:
On both the Redhat 7.1 servers, phpinfo() reports the following
environment variables:
user: michaels
logname: michaels
[...]
I'm confused as to why these variables exist. I know for a fact that
Apache is running as nobody. That's what the
This has been discussed a number of times here. Apache will always inherit
the environment of the user that starts it. You should start it with a
clean environment. ie. add env -i to whatever script starts your httpd
server.
-Rasmus
On Tue, 15 Jan 2002, Michael Sims wrote:
This may be more of
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 08 January 2002 07:15
Ok, basically I only configured php with apxs
However, I noticed the mysql was supported (It said so on php
info page)
How is that possible?
MySQL support is built in to PHP.
So sprach »Andrey Hristov« am 2001-12-21 um 15:52:35 +0200 :
Nope
$test();
Please explain!
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.iso-top.de | Jabber: [EMAIL PROTECTED]
iso-top.de - Die günstige
So sprach »Andrey Hristov« am 2001-12-21 um 17:40:07 +0200 :
?php
$test='htmlspecialchars';
echo $test('html');
?
Produces :
lt;htmlgt;
Ah, I thought you did disagree. Whatever. I misunderstood you, sorry
about that.
Alexander Skwar
--
How to quote: http://learn.to/quote (german)
since you CAN'T create functions runtime, unles you are using an eval
expression
but that's even slower that create_function..
function bla() {
}
$test = bla;
$test();
Is not solving the problem since, it doesn't create a function at RUNTIME it
only references a function..
(it references $test
Why do you need this? To my knowledge you get the same behaviour with
?
function create_function()
{
[body]
}
$test=create_function;
$test;
?
Bogdan
Emile Bosch wrote:
Dear list,
Does anyone know how the internals of create function works?
$test =
Thank you for you interest,
I need to know this because am building an CMS package..
and create function create functions on the fly which can come in handy very
much..
My questions was wheter create_function the PHP tag, slow is or not... hope
someone can
help me out here..
Warm regards,
Nope
$test();
Regards,
Andrey
- Original Message -
From: Bogdan Stancescu [EMAIL PROTECTED]
To: Emile Bosch [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, December 21, 2001 3:43 PM
Subject: Re: [PHP] Question about CREATE_FUNCTION
Why do you need this? To my knowledge you get
?php
$test='htmlspecialchars';
echo $test('html');
?
Produces :
lt;htmlgt;
Regards,
Andrey
- Original Message -
From: Alexander Skwar [EMAIL PROTECTED]
To: Andrey Hristov [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, December 21, 2001 5:35 PM
Subject: Re: [PHP] Question about
PROTECTED]
Sent: Friday, December 21, 2001 5:35 PM
Subject: Re: [PHP] Question about CREATE_FUNCTION
So sprach »Andrey Hristov« am 2001-12-21 um 15:52:35 +0200 :
Nope
$test();
Please explain!
Alexander Skwar
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
$test='htmlspecialchars';
echo $test('html');
?
Produces :
lt;htmlgt;
Regards,
Andrey
- Original Message -
From: Alexander Skwar [EMAIL PROTECTED]
To: Andrey Hristov [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, December 21, 2001 5:35 PM
Subject:
Why do you draw the conclusion you're misunderstood? We are unable to answer
your question about speed -- so aren't we allowed to have a separate discussion
derrivated from your question?
Bogdan
Emile Bosch wrote:
thx for al the help but i need some help of a php developer i guess cuz i am
der Skwar [EMAIL PROTECTED]
To: Andrey Hristov [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, December 21, 2001 5:35 PM
Subject: Re: [PHP] Question about CREATE_FUNCTION
So sprach »Andrey Hristov« am 2001-12-21 um 15:52:35 +0200 :
Nope
$test();
Please explain!
On Tue, 27 Nov 2001 03:11:42 EST
[EMAIL PROTECTED] mentioned:
Hello, I see all the ways to compile the tarball on a raq 3
for php after one installs freetype/gd and has mysql
well, what about the rpm?
Since I have mysql installed, after I get gd/freetype up
will the rpm know what to do to
?
RPM is good if everything is installed by RPM.
Otherwise, RPM won't know that you have dependencies installed, and will
fail.
Thanks. But how do I know if an rpm can run on a raq 3 when I read it's
supported for redhat?
Sometimes I read For redhat 6.1 and then some say yes, you can install
On Mon, 12 Nov 2001 16:28, [EMAIL PROTECTED] wrote:
Hello. I just want to confirm that if I use a system call to
execute gzip, so I can zip a directory, the file can be
decompressed by windows users
for example, if I visit
bleh.php and it compresses a directory /directory
will that file
Gzip only compresses single files?
So what if I want to compress a directory and have it download when a page is
accessed?
I thought gzip would allow this. To compress a specified directory
when page.php is accessed. This is confusing. I tried the zend.com articles,
too confusing to grasp. I
On Mon, 12 Nov 2001 16:51, [EMAIL PROTECTED] wrote:
Gzip only compresses single files?
So what if I want to compress a directory and have it download when a
page is accessed?
I thought gzip would allow this. To compress a specified directory
when page.php is accessed. This is confusing. I
SELECT Main.title, Replies.date FROM (Main LEFT JOIN Replies ON Main.id
= Replies.main_id) ORDER BY Replies.date
That should do it.
Mike
BlueBytes wrote:
http://paa.fragland.net/hosted/myquestion/
here you find my question, thx
--
PHP General Mailing List (http://www.php.net/)
To
READ THE MANUAL.
variable variables
$i=1;
$sName = seat$i;
$value = $$sName;
At 04:40 PM 10/31/2001 +1100, sc wrote:
Hey all;
If i have a variable say, $seat and i want to go through variables with a
number, ie. $seat1 , $seat2 etc. how would i go about it? i have one setup
where $p
SC
What you want should look something like this: ${seat.$p}
where $p can be incremented in a loop.
However, I was advised to use an array which would look something like this:
$seat[$p]
where $p can also be incremented in a loop.
Hope this helps.
hugh
- Original Message -
From: sc
the first one that you gave me works fine... thanks for that..
-sc
Hugh Danaher [EMAIL PROTECTED] wrote in message
000d01c161cf$eb160d20$9106f4d8@win95">news:000d01c161cf$eb160d20$9106f4d8@win95...
SC
What you want should look something like this: ${seat.$p}
where $p can be incremented in
But is there a way to make one of my root scripts run by sending it a
command to do so from the DSO version of PHP like with system command
or something like that. Or some roundabout way to make it think root is
asking the script run.
I hope you understand what I am asking.
There possibly
It's postscript points, I believe... 72 points per inch.
So, an 8.5x11 page is 612x792 points large.
--Matt
-Original Message-
From: Johan Holst Nielsen [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 27, 2001 3:59 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [PHP]
Try these links for MySQL news:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
Best Regards
René
Jack wrote:
Sorry, all, but i couldn't fine any Mysql News group around, so i sent this
message here, as i found php got a close
Chris,
I have found that when you get the users to exit propperly they will go by them
selves ... also have a look @ the garbage collection in your php.ini file
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
list-help: mailto:[EMAIL PROTECTED]
list-unsubscribe: mailto:[EMAIL
There's a session deletion script based on the last time a session file
was written to. You can set the duration a session is allowed to stay on
the file system for. http://database.sf.net/ - Down the bottom.
On Tue, 14 Aug 2001, Chris Kay wrote:
I have a mysql/php db/website that uses
Using the ftp functions is an alternative
http://www.php.net/manual/en/ref.ftp.php
Data Driven Design
1506 Tuscaloosa Ave
Holly Hill, Florida 32117
http://www.datadrivendesign.com
Phone: (386) 226-8979
Websites That WORK For You
- Original Message -
From: SED [EMAIL PROTECTED]
To:
You do know that you can see the source of any page on PHP.net's site,
right? Just click on the show source link in the bottom navigation
bar on any page. For instance, the source to the page you mention is
at:
http://www.php.net/source.php?url=/support.php
hth
--kurt
-Original
Run the string through stripslashes() before you write
it to the file...
http://www.php.net/manual/en/function.stripslashes.php
Cheers
-bob
--
Bob Scott Web / DB Developer
http://www.covalent.netCovalent Technologies, Inc.
On Tue, 24 Jul 2001, Chris Cocuzzo
: Tuesday, July 24, 2001 6:32 PM
Subject: Re: [PHP]Question about escaping a character
Run the string through stripslashes() before you write
it to the file...
http://www.php.net/manual/en/function.stripslashes.php
Cheers
-bob
--
Bob Scott Web / DB Developer
http
This is my suggestion
Start with making your user management...setup design and layout management,
then do the browsing, then your viewing, then different catagories, then do
other little bits...
- Original Message -
From: Jason Wang [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday,
have a look at other people's codes. you can start by looking at my forum,
which is pretty simple to install and work with
: http://www.wde.org/me/php/
/sunny
-Original Message-
From: Jason Wang [mailto:[EMAIL PROTECTED]]
Sent: 23 July 2001 08:06
To: [EMAIL PROTECTED]
Subject: [PHP]
Well for myself I will better like to have the 2 computer design, 1 for
httpd and 1 for mysql, it's alway's better that way the few nano that
you lose in transit are way better then a server that do both stuff. Now
the problem (that eat a lot of time is php and mysql, doh!). So you have
optimise
So sprach »Francis Fillion« am 2001-07-18 18.07.2001 um 17:55:41 -0400 :
thing. Then an other thing is to take big table and put them in smaller
table, way faster for writing/reading (hum, I don't quite remember if
Good idea. Combined with MERGE tables, this might really boost
performance
Use a database. With mysql, you can store the text into a table with
primary key called 'page' or something like that, and a text field of
some sort.
Then, do mysql_query(SELECT pagetext FROM website WHERE page=$page;);
=
Dive into it. It's easier than it looks.
Ben
-Original
PROTECTED]; 'PHP General List (E-mail)'
Subject: RE: [PHP] Question about how to do this...
Use a database. With mysql, you can store the text into a table with
primary key called 'page' or something like that, and a text field of
some sort.
Then, do mysql_query(SELECT pagetext FROM website WHERE
]; 'PHP General List (E-mail)'
[EMAIL PROTECTED]
Sent: Sunday, July 08, 2001 3:59 PM
Subject: RE: [PHP] Question about how to do this...
Use a database. With mysql, you can store the text into a table with
primary key called 'page' or something like that, and a text field of
some sort
501 - 600 of 623 matches
Mail list logo