I'm being quick, so pseudo code:
on message display page:
what happens is on sending, deleteList will be a list of all selected checkbox's
values.
on action page: (I'd also check deleteList isonly numeric characters and numbers, use
a Regular Expression to
cleanse the variable)
0>
-
$vars = array();
$url2 = explode("?", $url);
$url3 = explode("&", $url2[1]);
for($i=0;$i
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 5:19 PM
Subject: [PHP] Parse URL parameters
> How can I parse parameters sent with the URL of an pgp site?
>
> Example: I call the site with
> http://ww
If i want to add something into a table with just the mysql command.
Is this possible.
Like
./mysql -p -u root test "insert into..."
Something like this.Is that possible and how in that case.
Johan Vikerskog
Technician - CAE Tools Support
Research & Technology Development
''
a2 = '$a2'"?>
:)
> -Original Message-
> From: Andy [mailto:[EMAIL PROTECTED]]
> Sent: 5 iulie 2001 10:20
> To: [EMAIL PROTECTED]
> Subject: [PHP] Parse URL parameters
>
>
> How can I parse parameters sent with the URL of an pgp site?
>
> Example: I call the site with
> http://www.serv
Those are automatically assigned to $a1 and $a2.
-Original Message-
From: Andy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 3:20 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Parse URL parameters
How can I parse parameters sent with the URL of an pgp site?
Example: I call the
http://php.net/realpath
$allowed_path = '/www/sites/mysite/teaching';
$file = realpath($file);
if(ereg("^$allowed_path", $file)) {
// it's OK
} else {
// possible attack!
}
> -Original Message-
> From: Steve Werby [mailto:[EMAIL PROTECTED]]
> Sent: 5 iulie 2001 02:22
> To
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> The only foolproof method for restricting access is to strip
> forward slashes. In the above example, I can change the file to:
> /www/sites/mysite/teaching/../../../../etc/passwd
> And it will be allowed
> If you were to do this, however:
> $al
On Thu, Jul 05, 2001 at 09:14:36AM +0200, Xavier Paz wrote:
> Hi,
>
> Is there any way to get the raw POST data sent by the client? I mean the
> full data, before parsing into PHP variables.
no - you would have to hack it up
hint: serch for _RAW_ in /functions/post.c
tc
>
> I am us
Hi guys,
I am making a table which will store articles for a site
and the feilds are :
ID int(6) NOT NULL auto_increment,
CATEORY varchar(10) NOT NULL DEFAULT 'EVENTS' ,
HEADING varchar(30) NOT NULL DEFAULT '' ,
BODY longblob ,
PICTU
I have a dropdown box that is for selecting the month How can I be
verified that the customer has selected one of the months. I am using
verification like this but it does not do what I want for a dropdown
box it works fine for regular fields
if ($month == "") {
$mo
On 05-Jul-01 Richard Kurth wrote:
>
> I have a dropdown box that is for selecting the month How can I be
> verified that the customer has selected one of the months. I am using
> verification like this but it does not do what I want for a dropdown
> box it works fine for regular fields
>
>
Hello Richard,
I'm not quite sure but I think the problem is the following:
- If no month has been specified, the variable $month is not defined.
- If you then mention $month in
if ($month == "")
the Parser creates the variable. Its value is unpredictable, but it is
most unlikely
On Thu, Jul 05, 2001 at 12:05:28PM +0200, Tom Gitzinger wrote:
> Hello Richard,
>
> I'm not quite sure but I think the problem is the following:
> - If no month has been specified, the variable $month is not defined.
> - If you then mention $month in
>if ($month == "")
> the Pars
Simple question and i know that i shouldent post it here.
Hope you bare with me.
I have a mysql database that is called supportdb
How do i create an account for my user so he can connect to this database?
Do i use mysqlacccess?
//johan
--
PHP General Mailing List (http://www.php.net/)
To unsu
ermshouldnt that be
if($month == "00" ) {
?
Dave
- Original Message -
From: "Richard Kurth" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 12:35 PM
Subject: [PHP] verifying that a dropdown was selected
>
> I have a dropdown box that is f
Johan Vikerskog (ECS) wrote:
> If i want to add something into a table with just the mysql command.
> Is this possible.
>
> Like
> ./mysql -p -u root test "insert into..."
>
> Something like this.Is that possible and how in that case.
echo "insert into..." | ./mysql -p -u root test
or
cat filenam
Select month
January
. . .
. . .
if(!$month) {
// please select month
} else {
// month selected
}
> -Original Message-
> From: Richard Kurth [mailto:[EMAIL PROTECTED]]
> Sent: 5 iulie 2001 12:36
> To: php
> Subject: [PHP] verifying that a dropd
I've got a small question, can I make php system scripts just like perl
when I have compiled php as a dso module for apache or do I have to
compile it to an binary executable ??
something like #! /usr/bin/perl -w with a script except then for php.
Marc van Duivenvoorde
--
PHP General Mailin
Just an observation..
It is already "installed" in RedHat 7x and is found
in /usr/bin/php. If you are running Linux, you can
probably easily get the RPM.
_jef
Marc van Duivenvoorde wrote:
>
> I've got a small question, can I make php system scripts just like perl
> when I have compiled php
Is any of the versions below more effective?
/** Version 1 **/
/** Version 2 **/
/** Version 3 **/
--
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: [EMAI
But i want dont want to type in the password. I want to have the password in the
command file.
//Johan
-Original Message-
From: Alexander Wagner [mailto:[EMAIL PROTECTED]]
Sent: den 5 juli 2001 12:57
To: Johan Vikerskog (ECS); [EMAIL PROTECTED]
Subject: Re: [PHP] Batch job in UNIX.
Jo
On Thu, Jul 05, 2001 at 02:29:12PM +0300, Adrian Ciutureanu wrote:
> Is any of the versions below more effective?
>
> /** Version 1 **/
> if($condition) {
> // some big code
> } else {
> // other big code
> }
> ?>
>
> /** Version 2 **/
> if($condition) {
>
This depends upon what you mean by "effective". For administration
purposes, it may be that you want to include some "commen" code,
and therefore not rewrite reusable bits.
If you are talking about speed, opening a file is expensive
because it is a kernel call, a directory search and all that.
Y
Johan Vikerskog (ECS) wrote:
> But i want dont want to type in the password. I want to have the
> password in the command file.
"--password=whatever_it_is" instead of "-p" ?
If that doesn't help, try ./mysql --help
regards
Wagner
--
Madness takes its toll. Please have exact change.
--
PHP G
> If you are talking about speed, opening a file is expensive
> because it is a kernel call, a directory search and all that.
> Your "some big code" in-line will beat it every time...
Not in my experience. I have a file which defines ~40 functions, with
the bodies
included when the function is ca
>But i want dont want to type in the password. I want to have
>the password in the command file.
>>echo "insert into..." | ./mysql -p -u root test
>>or
>>cat filename | ...
Perfectly right. And a "mysql --help" would have told you that you can call it
(combined with the above) like this:
surely the include function only "pastes" the contents of the included
file into the point where the include statement occours. Php still has to
parse it all.
On Thu, 5 Jul 2001, Richard Heyes wrote:
> > If you are talking about speed, opening a file is expensive
> > because it is a kernel cal
But, my friend, if you include that file, PHP _still_ has
to parse it. You just didn't benchmark. No matter what
will beat
because of the addition of the call to the kernel. You
cannot get around this.
Richard Heyes wrote:
>
> > If you are talking about speed, opening a file is expensi
Hello all.
I want multiple domains to be able to read from one cookie, or set one
cookie each for the different domains.
Here is the case:
When the user logs in to my server, I want to set a cookie that has the
value $name="tobias". He specifies which domains that can read this cookie,
s
Nick Davies wrote:
>
> surely the include function only "pastes" the contents of the included
> file into the point where the include statement occours. Php still has to
> parse it all.
---
Right, and so no matter what, you still have the extra cost
of the file operation, something almost a magn
> But, my friend, if you include that file, PHP _still_ has
> to parse it. You just didn't benchmark. No matter what
Actually, I did do benchmarks, you simply didn't understand correctly.
Not all of the functions are used on every page. So if I were to include
all the functions in one file, rou
Hi,
I need to set up a sockets connection to a server that was written in
Delphi.
Using the following code I can connect to the socket and send a message
through it but don't get a reply back ...
{
echo "Socket opened ok ... sending message";
$message=sprintf("Steve%c He
fixed it now by adding ascii(10) to reply from server BUT what if i use
fgetc ?
does anyone know the ascii value for EOF ?
cheers,
Steve
> -Original Message-
> From: Steve Brett [mailto:[EMAIL PROTECTED]]
> Sent: 05 July 2001 12:58
> To: Php-General (E-mail)
> Subject: [PHP] Socket Mad
Just trying to see...
--
Matt
--
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]
Hi,
I know this may be a previously discussed topic, but I want to be sure I get
the right books. I need a good book on intermediate PHP programming. I am
looking to buy PHP 4 Bible, but is that the best I can get?
I looked through the list on the PHP website, but it does not rate the bo
On Thu, 5 Jul 2001, Bernie Kruger wrote:
> Hi,
>
> I know this may be a previously discussed topic, but I want to be sure I get
> the right books. I need a good book on intermediate PHP programming. I am
> looking to buy PHP 4 Bible, but is that the best I can get?
>
> I looked through the li
I second the recommendation of the WROX Professional PHP Programming book.
If database work is anywhere in your future, though, try "PHP and MySQL Web
Development" by Luke Welling and Laura Thomson. It is an EXCELLENT
reference on both PHP and MySQL, and although I own several PHP books, I
find
Hi
I have apache compiled with next configuration:
Server: Apache/1.3.19 (Unix) PHP/4.0.5 PHP/3.0.18 mod_perl/1.25 mod_ssl/2.8.3
OpenSSL/0.9.6a rus/PL30.4
It runs on SunOS censo.red.cityline.ru 5.7 Generic_106541-12 sun4u sparc
SUNW,UltraSPARC-IIi-cEngine
Where php4 compiles as dso and php3
I strongly suggest this book. I bought it about a month or two ago and
learned PHP with it. it is an EXCELLENT book.
Jeff
www.hyrum.net
www.xnull.com
> If database work is anywhere in your future, though, try "PHP and MySQL
Web
> Development" by Luke Welling and Laura Thomson. It is an EXCELL
On Thu, 5 Jul 2001, Roger Ramirez wrote:
> On Thu, 5 Jul 2001, Bernie Kruger wrote:
>
> > Hi,
> >
> > I know this may be a previously discussed topic, but I want to be sure I get
> > the right books. I need a good book on intermediate PHP programming. I am
> > looking to buy PHP 4 Bible, but
Steve Brett wrote:
>
> fixed it now by adding ascii(10) to reply from server BUT what if i use
> fgetc ?
>
> does anyone know the ascii value for EOF ?
>
> cheers,
>
> Steve
I think it is four (CTRL-D), viz:
| 00 nul| 01 soh| 02 stx| 03 etx| 04 eot| 05 enq| 06 ack| 07 bel|
| 08 bs | 09 ht |
Hello,
I am curious about creating a script that would bring me results of a search
organized not by the actual name of the domain but the lenght of each part
of a domain.
This is an example:
Domains that finish in .com/.net/.org with the lenght of one character:
a.com
a.net
a.org
b.com
b.net
Hi, you have to break your table in pieces and create tables for items that occur more
than once. For example:
CREATE TABLE articles (
ID int(6) NOT NULL auto_increment,
id_category UNSIGNED INT REFERENCES category,
HEADING varchar(30) NOT NULL DEFAULT '' ,
BODY longblob ,
...)
CREATE TABLE pic
Hi all,
Im new to this mailing list so im not sure what to expect from 'y'all' but
i'm hoping this will be the beginning of a long and beautiful friendship.
My question:
i have a series of PHP4 pages that if I start a session (session_start()) on
the first page (adminLogin.php), all is fine and
your session_start() has to be the first thing in the page. no blank lines
etc.
like
right at the top of your page. a blank line will send header info ...
Steve
> -Original Message-
> From: Brad Wright [mailto:[EMAIL PROTECTED]]
> Sent: 05 July 2001 16:21
> To: [EMAIL PROTECTED]
> Subj
You must have some white space going out somewhere before your
code/HTML "starts", that you are unaware of. If you can't find
it, you can always buffer up your output with ob_start() and
put it out later...
---
Brad Wright wrote:
>
> Hi all,
> Im new to this mailing list so im not
Hi all,
I have a script getfile.php which when I call like getfile.php?fileid=12 and
it returns the file to the browser with the appropiate mime headers etc..
however a problem has recently come where when I have a link to this from a
page then it prompts me to download the page I'm calling from
Hey guys, I have a php script that generates files, and a www page that
links to them.
Is there a way to delete those files, based on a time variable ?..
lets say 1 minute after they have been generated, they get deleted ?
(this is on redhat linux, and the latest build of php/apache 1.3)
Thank
Hi,
Anyone know how I can write and read to different lines in a file rather than just
adding to the text already on the first line of the file?
Thanks
Zotud
At 08:41 am 7/5/01 -0700, Oliver Hotz wrote:
>Hey guys, I have a php script that generates files, and a www page that
>links to them.
>
>Is there a way to delete those files, based on a time variable ?..
Why not have cron kick off a script every minute that checks all candidate
files and deletes
Adrian Ciutureanu pressed the little lettered thingies in this order...
> $allowed_path = '/www/sites/mysite/teaching';
> $file = realpath($file);
> if(ereg("^$allowed_path", $file)) {
> // it's OK
> } else {
> // possible attack!
> }
>
This is not good code.
A user could replace the $file i
This is a good code. Read http://php.net/realpath
> -Original Message-
> From: Christopher Ostmo [mailto:[EMAIL PROTECTED]]
> Sent: 5 iulie 2001 19:57
> To: Adrian Ciutureanu
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Security of PHP code
>
>
> Adrian Ciutureanu pressed the little le
An observation: I presume (in my code) that $allowed_path is a "root" of
an allowed path. So, files in subfolders of allowed_path are also
allowed.
> -Original Message-
> From: Christopher Ostmo [mailto:[EMAIL PROTECTED]]
> Sent: 5 iulie 2001 19:57
> To: Adrian Ciutureanu
> Cc: [EMAIL PRO
The FED Es api suite says tat windows is a
requirement.
Has anyone intergrated this into a sight using PHP on linux.
__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--
PHP General Mailing List (
Adrian Ciutureanu pressed the little lettered thingies in this order...
> This is a good code. Read http://php.net/realpath
>
You are correct. I was unaware of the addition of the realpath() function
to PHP. According to the description of realpath(), using it should close
this hole also.
>
Hallo Bernie,
Ek het begin met 'Teach yourself PHP in 24 hours' en to later 'PHP
Developer's Cookbook' aangeskaf van Sterling Hughes. Eg. help met die
basiese en lg. het meer gevorderde 'resepte' in. Dit het goeie resensies
gekry en ek geniet dit.
Groetnis
Rudolf Visagie
[EMAIL PROTECTED]
I need to let PHP run a command as SU... is there any way it can be done? I
need it to let Courier compile it's makeuserdb and makemaildir. Any help
would be great.
--
Matt Simpson
Design Coordinator
[EMAIL PROTECTED]
Online Creator Inc
780 Midpark Dr. Suites 105 & 107
Phone: 613.389.
> >
> >I look forward to your earliest reply through my email
> >address or by my
> >Tel:874-762-727947,
> >fax:874-762-727949.
> >
> >yours truly
> >
> >SOLOMON BALOGUN.
> >
this supposed banker is using a phone number that if dialed from
anywhere in the world, can charge your phone bill $24,00
On 05-Jul-01 Johan Vikerskog (ECS) wrote:
> If i want to add something into a table with just the mysql command.
> Is this possible.
>
> Like
> ./mysql -p -u root test "insert into..."
mysql -e "cmd"
mysql -B "cmd"
mysql < somescript.sql
cat many*.sql | mysql
-- also look at --
mysql --help
I've had good success in creating SVG (Scalable Vector Graphic) documents
for producing bar/line/pie graphs... The format uses an XML document for its
structure, so producing data from a database connection is very easy and
produces nice results.. More information at:
http://www.w3.org/Graphics/SV
On 05-Jul-01 Johan Vikerskog (ECS) wrote:
> But i want dont want to type in the password. I want to have the password in
> the command file.
No, you don't.
Put your user name & password in ~/.my.cnf
(as explained in the fine manual).
--
Don Read [EMAIL
I know this really isn't a correct list, but I know most of you have
experience in getting hosting, etc and you have been very helpful in my PHP
troubles, so maybe you can help me here, too! :)
Anyway, my site is currently colocated at a small ISP, that charges as
follows:
$265 - 2U rackspace +
Most colocations charge by sustained bandwidth throughout the month, not in
transfers per month so it may be difficult to get a comparison. I am paying
485$/month which gets me 6U (2 servers) and a sustained 350kb/sec which
comes out to ummm a lot. The colocation is at a Level3 facility with du
On 05-Jul-01 Oliver Hotz wrote:
> Hey guys, I have a php script that generates files, and a www page that
> links to them.
>
> Is there a way to delete those files, based on a time variable ?..
>
> lets say 1 minute after they have been generated, they get deleted ?
>
man find
(check for the
Most colos charge for a dedicated pipe, 512k, 1mb, etc, per month, not usually by
total transfer. However, some do but they usually give you like 30 or 50gb per month.
The 8 you are getting is very low. My old host gave us 50gb for $150, so thats $3/gb.
:)
Thanks!
-
where can I find a good documentatio on regular expressions?
I´m desperate in need of it...
thanks for your time
--
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
The little b, bits, so ~45KB
-Original Message-
From: Shrout, Ryan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 10:26 AM
To: 'Chadwick, Russell'
Subject: RE: [PHP] Bandwidth?
Is that 350 KB/sec or 350 kbps?
Ryan Shrout
-Original Message-
From: Chadwick, Russell [m
On 05-Jul-01 James Bartlett wrote:
> Hi,
>
> Anyone know how I can write and read to different lines in a file rather
> than just adding to the text already on the first line of the file?
>
> Thanks
>
Assuming you're talking about text files:
A. suck the whole thing up in memory, change it t
Hello!
Try to find some good PERL or PHP book.
You can get one from http://194.84.74.116/iced/lp.tar.gz
Best regards,
Andrew Kirilenko,
Senior Programmer / System Administrator,
Internet Service.
-Original Message-
From: Mick Foster [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 20
I like the O'Reilly book on "Regular Expressions".
_jef
---
Mick Foster wrote:
>
> where can I find a good documentatio on regular expressions?
> I´m desperate in need of it...
>
> thanks for your time
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscrib
On Thu, 05 Jul 2001 14:33:55
Mick Foster wrote:
>where can I find a good documentatio on regular expressions?
>I´m desperate in need of it...
Try the manual at www.php.net/manual/en
Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/
--
PHP General Mailing L
Actually,
If you look at the Perl pages, you will find some awesome documentation on
reg.exps. Have fun!!
Mike Eggleston
Mick Foster <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> where can I find a good documentatio on regular expressions?
> I´m desperate in need o
Here is the problem I am facing now. I have a site, with a sort-of shopping
cart but heavily modified for the job it does. The site uses 2 frames: 1
for the cart and 1 for the content.
The customer has Acrobat PDF files that they want links in to add things to
the 'cart'. If PDF files had the
Hi,
I'm trying to solve the following issue in a (hopefully) simply way:
- I'm creating web-pages using php and perl (using a page template)
- the dynamically created pages may contain php code which I like to get
interpreted in a normal fasion.
The ideas is have to solve the proble
I can easliy add addional email header using the php mail() function. Does
'mail' or 'sendmail' have this same ability to add email headers from the
command line?
Thanks,
-eric wood
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
Hi,
I just upgraded gd to 2.0.1 and recompiled apache1.3.20/php4.06.
when I do phpinfo() it says:
GD Support enabled
GD Version 1.6.2 or higher
WBMP Support enabled
and when i call imagepng() it says:
Warning: ImagePng: No PNG support in this PHP build
any ideas what's going on here?
I removed c
On Thu, 5 Jul 2001 14:59:19 +0200, Tobias Talltorp
([EMAIL PROTECTED]) wrote:
>Hello all.
>
>I want multiple domains to be able to read from one cookie, or set
>one
>cookie each for the different domains.
>
>Here is the case:
>When the user logs in to my server, I want to set a cookie that has
>th
On Thu, 5 Jul 2001, Don Read wrote:
> > Anyone know how I can write and read to different lines in a file rather
> > than just adding to the text already on the first line of the file?
>
> A. suck the whole thing up in memory, change it there, write it back out.
Just as a note: for large (text o
what I mean is, how could I save a javascript var value on a php var???
Thanks...
--
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]
Hello,
I'm posting here (rather than on i18n) because I was having problems with the
other newsgroup (and well because I always get the best answers to my php
questions by posting here).
I've got a couple web apps that I'd like to standardize so that they are more
multilingual and was
Actually, that's not entirely accurate.
You can set cookies for multiple domains on one HTML page -- you simply have
to write a page that calls one image from each domain that you want to set a
cookie on, even if that image is nothing but a 1x1 transparent gif.
Cookie management and updating wil
As the original respondent said:
window.location = 'http://url?yourVar=' + yourVar;
from there, parse out the URL variable and store it into a PHP variable and
you're good to go.
- Original Message -
From: "Romeo Manzur" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 05
I want to store the value of screen.ColorDepth on a php var...
Thanks...
Kurt Lieber wrote:
> As the original respondent said:
>
> window.location = 'http://url?yourVar=' + yourVar;
>
> from there, parse out the URL variable and store it into a PHP variable and
> you're good to go.
>
I agree, I've had it at work and I hated it. I love my SuSE box at home.
What more security do you need than Linux?
- Original Message -
From: "Jesse S. Williams" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 3:30 AM
Subject: RE: [PHP] PHP for NetWare?
> Actu
I don't really no how to word this. How can I use a single PHP to update
two sides of a framed page?
like a call to: add.php?add=4ffqe45&manual=123.33&fn=ex1
I want it to update the left frame with a call to:
http://serverview_cart.php?add=4ffqe45
and I want it to update the right frame with
Hello everyone,
I'm having a problem of submiting an ' into a mysql
database. When I have a ' it doesn't update or submit
the data. but if I use \' it works fine. Does anyone
know of a way around this.
Thanks
--Mike
__
Do You Yahoo!?
Get person
Use javascript. Have that first page return HTML that contains javascript
along the following:
top.leftframe.document.href = 'http://serverview_cart.php?add=4ffqe45';
top.rightframe.document.href = 'htt
BODY onLoad="otherFrameName.document.location =
'http://serverview_cart.php?add=4ffqe45'"
I think that's how you'd do it... Can anyone with more experience in
javascript verify?
-Original Message-
From: Shrout, Ryan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 3:18 PM
To
Use the addslashes() call to automatically escape characters like that.
MySQL will not add the slashes into the table cell, so no need to
stripslashes() after you SELECT it back out.
-Original Message-
From: Mike Mike [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 3:19 PM
To
G'day folks,
Here's a theoretical question for those of you using PHP's inbuilt session
facilities...
How do you "keep" your variables across redundant servers? Or,
isn't anybody out there hosting PHP-based services on grouped
servers?
My question may reflect a lack of
NetWare is great for an enterprise where directory enabled management is a
requirement. And it is bullet-proof secure and 24/7 reliable if setup correctly.
(Most NOS's are with a couple of exceptions. :) I work for a school system, and I
can't imagine managing accounts on multiple servers with
I must not be clear on your question as it seems my response (and the
original response) describe exactly what you're looking to do.
I recommend you check out forums.devshed.com and do a search in their PHP
forum for "javascript php variable" You'll get a ton of examples and
suggestions. Here's
The load-balanced cluster implementations I've worked with define a PHP
session handler that uses a database to store session data, and so it
doesn't matter which web server a particular session comes from, the data is
stored in a centralized place.
- Tim
http://www.phptemplates.org
> How do y
On Thu, 5 Jul 2001, Dieter Stolpmann wrote:
> Hi,
>
> I'm trying to solve the following issue in a (hopefully) simply way:
>
> - I'm creating web-pages using php and perl (using a page template)
> - the dynamically created pages may contain php code which I like to get
> interpreted in a normal
Hello list,
I have a security problem to solve with my apache setup and I am clueless
at this moment...
My web server holds multiple domains and uses name-based virtual servers
to direct requests to different portions of the html tree for different
domain names (we presume only one IP is availa
> -Original Message-
> From: Romeo Manzur [mailto:[EMAIL PROTECTED]]
> Subject: [PHP] $phpvar = javascriptvar???
>
> what I mean is, how could I save a javascript var value on a
> php var???
You can also put a HIDDEN field in your form, have JS assign the value to
that, then PHP will
Excuse me if this is too newbie...but I'm writing a simple script to
query a database and loop through the reuslts, echoing them on the page.
When I enter the query at the mysql command line, I get the correct
results. But the same query run through PHP renders all results except
the first one.
On Fri, 6 Jul 2001, Daniel Baldoni wrote:
> G'day folks,
>
> Here's a theoretical question for those of you using PHP's inbuilt session
> facilities...
>
> How do you "keep" your variables across redundant servers? Or,
> isn't anybody out there hosting PHP-based services on grouped
>
G'day again everybody,
>> Here's a theoretical question for those of you using PHP's inbuilt session
>> facilities...
>>
>> How do you "keep" your variables across redundant servers? Or,
>> isn't anybody out there hosting PHP-based services on grouped
>> servers?
>
> You are r
OK, I'm working on a site that absolutely must use a cookie containing a
session identifier.
I know how to set a cookie through PHP, but I need to do something else too.
The same page MUST identifier whether the cookie was accepted or not. I've
seen sites like NetFlix.com that will test to see
1 - 100 of 176 matches
Mail list logo