Hello all
each user gets a session id which can be reused later. I am writing all
encoded details to for that session to mysql database.
If the same user returns later (hours,day) he/she can use her Id (input box)
and I get the details from the database.
I did notice that the session id is also
Turn off magic_quotes_gpc in your php.ini file.
-Rasmus
On Fri, 23 Mar 2001, adam wrote:
> everytime i post text to this file, i get the characters " and ' turning up
> as \" and \'
>
> is there anything i can add that would keep them from outputting into this?
>
> here is the code i use:
>
>
ssb Fri Mar 23 23:00:45 2001 EDT
Added files:
/php4/pear/DB/tests tableinfo.inc
/php4/pear/DB/tests/mysql 012.phpt
Modified files:
/php4/pear DB.php
/php4/pear/DB STATUS common.php mysql.php
Log:
* added Christian St
p.s. the submitted text $ message is what is returning the wierd quote
marks
--
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'm at a lossI've searched throught the knowledgebase, archives, docs,
etc but I can't figure out what's going on. The problem is when using the
mail() function nothing gets send and I don't get any error messages either.
It's like the message gets eaten by a black hole.
I already put
Because PHP needs to be able to find both the lib and the header files.
Since the header files are nowhere to be found under /usr/lib, that isn't
going to work. --with-gd=/usr is what you want here.
-Rasmus
On Sat, 24 Mar 2001, Paulo Vinícius Vitto Ruthes wrote:
> can somebody explain me WHY I
everytime i post text to this file, i get the characters " and ' turning up
as \" and \'
is there anything i can add that would keep them from outputting into this?
here is the code i use:
", $message);
$date = date("l, F j Y, h:i a");
if ($email == "") {
$message = "\n
\n
$name -- $date\n
php-general Digest 24 Mar 2001 05:10:17 - Issue 585
Topics (messages 45315 through 45410):
NNTP
45315 by: Tim
Re: Move data from one MySql table to another?
45316 by: darion mapp
45321 by: Boget, Chris
45322 by: Altunergil, Oktay
45323 by: darion map
I learned recently that you can put an array into a string using the braces
operator like so:
$string = "Here's an interpolated {$array['key']}";
This is really handy for sql statements and other neat things.
You can use indexed arrays too. Actually, all arrays in php are hashes
(associative).
Hi All,
PHP is unable to resolve the variable you are trying to use within a stting. If you
use complex array structures you have to write it like this:
$sql = "insert into sessions(session_id, user_id, session_expiration) values
('$sess_id', " . $user_fields['USER_ID'] . "', sysdate + (" .
adaniel Fri Mar 23 20:36:38 2001 EDT
Added files:
/php4/pear/HTML Page.php
Log:
This class handles the details for creating a properly constructed HTML page.
Page caching, stylesheets, client side script, and Meta tags can be
managed using this class
adaniel Fri Mar 23 20:36:06 2001 EDT
Modified files:
/php4/pear/HTML Table.php
Log:
added comments to the html output including table nest level, added automatic
taboffset for
cell contents if a subclass of html_common
Index: php4/pear/HTML/Table.php
di
How would I use to explode to extract the following
"name address city state zip"
I want to break that up and then do this
if (empty($name))
if (empty($address)
thanks
randy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
adaniel Fri Mar 23 20:34:18 2001 EDT
Modified files:
/php4/pear/HTML Select.php
Log:
added comments to the HTML output, added loadQuery, added load
Index: php4/pear/HTML/Select.php
diff -u php4/pear/HTML/Select.php:1.2 php4/pear/HTML/Select.php:1.3
--- php
adaniel Fri Mar 23 20:33:11 2001 EDT
Modified files:
/php4/pear/HTML Common.php
Log:
added setComment
Index: php4/pear/HTML/Common.php
diff -u php4/pear/HTML/Common.php:1.5 php4/pear/HTML/Common.php:1.6
--- php4/pear/HTML/Common.php:1.5 Thu Mar 22 18:
thats good, in the future a code snippet helps
- Original Message -
From: "Chris Doyle" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Friday, March 23, 2001 11:12 PM
Subject: Re: [PHP] [php] Varible declaration
> no problem i have got it now..
> needed to declare it global
Hello,
I have a cgi that I run in telnet by doing this:
perl /script/cgi-script.cgi name=cgi+script purpose=test
is there a way I can run a cgi script and pass it variables?
Thanks
Brandon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
no problem i have got it now..
needed to declare it global.
- Original Message -
From: "Chris Anderson" <[EMAIL PROTECTED]>
To: "Chris Doyle" <[EMAIL PROTECTED]>; "PHP List"
<[EMAIL PROTECTED]>
Sent: Friday, March 23, 2001 6:40 AM
Subject: Re: [PHP] [php] Varible declaration
> Remove th
Doesn't work still in my function i put a die($cid); and it doesn't display
anything value
- Original Message -
From: "Chris Anderson" <[EMAIL PROTECTED]>
To: "Chris Doyle" <[EMAIL PROTECTED]>; "PHP List"
<[EMAIL PROTECTED]>
Sent: Friday, March 23, 2001 6:40 AM
Subject: Re: [PHP] [php
Remove the '' around the 1.
- Original Message -
From: "Chris Doyle" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Friday, March 23, 2001 9:44 PM
Subject: [PHP] [php] Varible declaration
Hi,
when I declare the varible $cid like this "http://myserver/index.php?cid=1"
it wo
could someone check this?
>From the URL parsing discussions, you should be able to do these two things
with a URL like this:
index.php/main/default/sitelevel1/sitelevel2/sitelevel3/name.html
1. set some page variables from the URL:
function page_init()
{
global $REQUEST_URI;
global $init_vars[
can somebody explain me WHY I can't make my PHP
compile with GD? I put --with-gd=/usr/lib/ where usualy
the libgd.* are, and there THEY ARE, but the ./configure (blabla yada
yada yada) returns me that COULDN'T FIND the
libgd.* in /usr/lib/
does anybody have some solution please?
--
[ Paulo Viní
Hi,
when I declare the varible $cid like this "http://myserver/index.php?cid=1" it works
fine, but when i declare it in the code like this
$cid = '1';
it doesn't work... is this maybe because of the level i declare the varible? how to i
declare it the same as "http://myserver/index.php?cid=1
see:
http://www.php.net/manual/en/function.serialize.php
you could store a unique id in your URL that refers to the ow in your
DB where the array is stored.
-aaron
At 9:04 PM -0500 3/23/01, Jaxon wrote:
>can an array be stored in a database field?
>E.g. make a few runtime settings for a page,
I have a script that sets cookies for validation. The problem is that on some
servers(wwws) it works fine, but on another when submitted it gives a 404 error. I can
send the code to someone if they like, but this is driving me insane. It's just too
long to add here
Thanks
Oh wait, just do this in my page :
URL -> index.php/main/1/pagename.html
$path_array = explode('/', $REQUEST_URI);
$tpl = $path_array[0];
$ii = $path_array[1];
$pagename = $path_array[2];
that works - sorry for being obtuse.
regards,
jaxon
On 3/23/01 9:30 PM, "Jaxon" <[
Hello,
Has anyone successfully implemented gettext on windows?
If so how do you go about creating po files and using the bindtextdomain function;
Thanks
Well assuming that this: index.php/tpl/main/ii/1/pagename/name.html
is representative of this: index.php?tpl=main&ii=1$pagename=name.html
then:
$path_array = explode('/', $REQUEST_URI);
$numPathElements = count($path_array);
gives me:
$path_array[0] = tpl
$path_array[1] = mai
super easy.
$path_array = explode('/', $REQUEST_URI);
$numPathElements = count($path_array);
then loop through the elements and do what you need, you might need
to use strtok() if you're expecting slashes in your arguments.
-aaron
At 8:58 PM -0500 3/23/01, Jaxon wrote:
>how about parsing a ur
FYI - there's a good chance we won't have another RC...
At 20:36 23/3/2001, Christian Stocker wrote:
>chregu Fri Mar 23 10:36:37 2001 EDT
>
> Modified files: (Branch: PHP_4_0_5)
> /php4/pear/CacheOutput.php
> Log:
> GarbageCollection was moved into a PEAR-Decon
Yes it can.
Try serialize() and unserialize() functions.
Mick
On Fri, 23 Mar 2001, Jaxon wrote:
>
> can an array be stored in a database field?
> E.g. make a few runtime settings for a page, store the settings as an array
> in a field, and use that array to make some runtime settings?
>
> F
can an array be stored in a database field?
E.g. make a few runtime settings for a page, store the settings as an array
in a field, and use that array to make some runtime settings?
Follow up to that question, can that array be persisted from page to page
without a cookie?
regards,
jaxon
--
how about parsing a url from passing variables like :
test.php/op/3/op2/6/pagename.html
cannot this be parsed, to let search engines spider past the "?" properly?
regards,
jaxon
On 3/23/01 7:46 PM, "Richard Lynch" <[EMAIL PROTECTED]> wrote:
> I think you can change the separator in php.ini, a
When you SET a cookie, the browser has the cookie, but it has not been sent
back by the browser to the server yet -- Only on the second page does that
happen.
So, in addition to setting a cookie, you should also set the variable at the
same time.
--
Visit the Zend Store at http://www.zend.com/st
Basically, you shouldn't be checking for '1' as an answer.
Either you got 0, and it didn't work, or you didn't, and the URL is valid.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chat
If you are attempting to connect to a site that uses HTTP Authentication
(that popup window), I *THINK* you can use:
username:password@http://whatever.com
If you need to get to/through a web-page with a FORM in it, dig out Rasmus'
posttohost() function and use that to send the username/password
If you can add a unique number (microtime() * 100) or uniqid() to the
URL, then the browser and server and everybody in between will be pretty
sure it's a different URL and re-load it.
echo "foo";
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD
blah blah blha
blah blah blah
-- navbar.inc
Page 2
Page 3
Page 4
--
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a li
> do I have to cast values from text boxes into ints?
Not usually, because PHP and MySQL take care of converting for you, 99.%
of the time.
But what you get from a FORM (or a GET URL) are all strings. The HTTP spec
doesn't have any way to distinguish one data type from another. It's all
st
I think you can change the separator in php.ini, and for sure you could do
it by hand using $PATH_INFO or something.
Personally, my first question would be if the new "standard" is actually
being used or supported by anybody else...
--
Visit the Zend Store at http://www.zend.com/store/
Wanna hel
Check your Apache error log, usually at /usr/local/apache/logs/error.log
You may have a message there giving you some idea of what's going wrong.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time:
I'm guessing that the data you are getting has various funky characters in
it that are not surviving the database or HTML Input/Output.
Do you see the correct URL as the link?
Or is there *nothing* for afl?
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? B
It shouldn't matter, but try moving the global *AFTER* the extract().
Meanwhile, I think you should probably report this at http://bugs.php.net
Seems pretty broken to this naive user...
(Who likes the idea of extract, but can never remember the darn function
name when I need it...)
--
Visit th
> I have some scripts to build pages that will be sent to a production
server.
> Is is possible to redirect the page to a file with an html extention that
> could be sent via the ftp functions to the production server.
I suspect I'm not the only one who doesn't understand the question
properly...
You need to have a separate page that returns that image as if it were a
static file on your site.
--- image.php?id=42 -
Then, in your HTML, you would have:
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artis
Something else to investigate could be whether you've passed the db name
to the script. If the the name of the db is different to $user, you'll
need to do something like
$dbname = "whatever";
mysql_select_db("$dbname",$db);
Mick
On Sat, 24 Mar 2001, YoBro wrote:
> What could I possibly be do
YoBro,
I think you need to wrap $product, $name and $email in quotes when sending
the statement to MYSQL.
Calvin
-Original Message-
From: YoBro [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 4:38 PM
To: [EMAIL PROTECTED]
Subject: [PHP] I need an expert to tell me what I am doin
sas Fri Mar 23 17:08:14 2001 EDT
Modified files:
/php4/ext/standard basic_functions.c
Log:
Fix ZTS build
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.321
php4/ext/standard/basic_functions.c:1.322
--- php4/ext
Well, I got it fixed, I was told PHP is picky about cookies, so I was told to make it
redirect to the same page (so i just put a header(Location: $PHP_SELF);, and it works
- rob
I have tried that, and I have been reading all sorts of info and been
copying it exact, but it still doesn't work. I am not receiving any errors,
but the data just doesn't appear in the database. I have the table set up
and it all works fine in phpMyAdmin, but I cant get my own form to work.
Ther
Rob,
perhaps some code?
regards,
jaxon
On 3/23/01 7:03 PM, "wx" <[EMAIL PROTECTED]> wrote:
> Hello:
>
> I've set up a authentication script in PHP, and have made it to where once
> the user has been successfully authenticated, it puts the username
> ($global[username]), password ($global[
You don't say where the failure is, but I'm guessing its when you do the
mysql_query. Your INSERT statement looks a bit odd.
Try:
$sql = "INSERT INTO orders (product,name,email)
VALUES ($product,$name,$email)";
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
I'm trying to write a sql statement (for Oracle) that uses an associative
array element as a dynamic value. PHP is choking on this line:
$sql = "insert into sessions(session_id, user_id, session_expiration) values
('$sess_id', $user_fields['USER_ID'], sysdate + ($user_fields['MINS_TILL_EXPIRE']
What could I possibly be doing wrong here. The information just will not
insert into my database.
ARGH!
Please help if you can...
--
Regards,
YoBro
-
DO NOT REPLY TO THIS VIA EMAIL
PLEASE USE THE NEWSGROUP
All emails sent to this ad
thanks for your help.
""Jeff Armstrong"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Do it in MySQL = Fast
> Don't fiddle in PHP = waste of your time.
>
> Look into the following:
>
> select
> UNIX_TIMESTAMP(date1)-UNIX_TIMESTAMP(date1) as diff_secs,
>
Hello:
I've set up a authentication script in PHP, and have made it to where once the
user has been successfully authenticated, it puts the username ($global[username]),
password ($global[password]), and realname ($global[realname]) into a cookie. The
included functions file (./inc/common.
best/easiest/bulkist way it to serialize it and urlencode it.
test";
?>
--
Chris Lee
[EMAIL PROTECTED]
""Scott Fletcher"" <[EMAIL PROTECTED]> wrote in message
99gkbv$tcg$[EMAIL PROTECTED]">news:99gkbv$tcg$[EMAIL PROTECTED]...
Hi!
I write the script for the array stuffs using hte a
On Fri, Mar 23, 2001 at 06:16:10PM -0500, Mauricio Alarcon wrote:
> I want to connect to a Microsoft SQL Server, I try with mssql_connect
> but the script don't work, it always say Call to unsupported or undefined function
are you sure, that ms-sql support is compiled into your php?
what does p
You mean
if( $var == "duck" || $var == "goose" ..etc
A single equal sign is assignment, double is test for equality.
Check the string functions, you could try something like:
if ( strpos( "duckgoosehenchickenpeacock", $var ) != 0 ) {do something}
else {critter in $var not part of our set}
I
Hi,
What was so difficult about implementing my last post?
--
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 php mania,
i was connecting into mysql using mysql_connect, and i just saved
the return value from this funtion. now i want to use this connection
id in the other page so i dont have to connect into mysql again.
is it possible for me to do that ?
anybody could tell me the different
Hello
I want to connect to a Microsoft SQL Server, I try with mssql_connect
but the script don't work, it always say
Call to unsupported or undefined function
What I do worng?
Thanks
--
Mauricio Alarcon Rincon
Webmaster - Webdepot
Linux Registered User # 157093
CF-18 Hornet
Mike, my experiments suggest you can also get rid of the session_register()
statement. Seems that simply assigning to $HTTP_SESSION_VARS[my_session_var]
is enough.
Kirk
> -Original Message-
> From: Michael Champagne [mailto:[EMAIL PROTECTED]]
> Subject: RE: [PHP] I don't understand HTTP
I noticed the setting session.cookie_secure in my php_info(), but could not
find anything mentioned about it in the documentation. Does anyone know what
this setting does?
--
Michael Champagne, Software Engineer
Capital Institutional Services, Inc.
wk: [EMAIL PROTECTED]
hm: [EMAIL PROTECTED]
Hi!
I write the script for the array stuffs using hte array function -->
$menu=array(0,0,1,0);
I'm trying to get this array to carry over using the $PHP_SELF to the
same page over and over. However, I'm not getting the right result. So, is
there a better way?
What about $menu[0]="
Dear Friends:
I have had another problem, after succesfully find flex package installed
in this machine and make a link to a folder that is included in PATH.
After ./configure, after the message that PHP was configured OK, following
the instructions I write: make.
This is the error that ap
YES! That's what it was. You rule man. Why would session_start need to come
before the global variable declaration? You'd think session_start would need
$HTTP_SESSION_VARS declared beforehand to load the session variables into?
Thanks,
Mike
> OK, try this. The session_start() has to come bef
> > What's up with the PHPBuilder website? It's been down all day.
> > :( Does anyone know?
> I can get to it OK.
Well, I can now... :p
Chris
I can get to it OK.
"Boget, Chris" wrote:
> What's up with the PHPBuilder website? It's been down all day.
> :( Does anyone know?
>
> Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To conta
send the proper HTTP headers and then output
the contents of the file here's what i
used when i had to prompt the user for a
download box for arbitrary binary files
(.gif, .zip, .png, .pdf)
you might be able to not tell the browser
the size of the data, but it's best to
offer that informatio
Hi
I need send to user a file.zip using PHP code.
Someone have a idea ?
Thx a lot
[EMAIL PROTECTED]
--
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
what i did was implement my own session class
so that i can have a single session variable ($s)
and have it handle all my session needs via
an OO interface ($s->CleanUp(), $s->Update(), ...)
consequently, all of my session data is in a
simple assoc. array that's a variable of the
session class (
What's up with the PHPBuilder website? It's been down all day.
:( Does anyone know?
Chris
OK, try this. The session_start() has to come before the global statement:
--
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,
Go post your globals question at the php forum at www.devshed.com . You
will usually get extremely quick responses to questions about php.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To con
Hi,
The default php setting is with track vars on, and register globals on I
believe. I have never tried anything else. I turned globals off to see if
I could help you with your problem. If you check the manual, they do not
put much explanation into how to use sessions with globals off, thoug
I tried quoting it as well - my last post is where I'm currently at with this.
Still doesn't work, but doesn't crash anything either.
Mike
> Also, you are registering a variable rather than a name. So, unless there
> is a quoted name for the variable value, I don't think that would work. For
>
Maybe I should just go back to using globals then. What does everyone else do
normally? Globals or use the track_vars? I can't get these things working at
all.
Mike
> Hi,
>
> That code causes php to crash. I have never had that happen before. Every
> time I try to run that script, I am give
Also, you are registering a variable rather than a name. So, unless there
is a quoted name for the variable value, I don't think that would work. For
instance,
$a="b"
session_register($a);
actually registers a variable called $b. I made that mistake in my post
too.
--
PHP General Mailing
I'm trying this and it's still not working. Here is my code in 2 files,
write_sess.php and read_sess.php. I've been trying to figure this out all
day.
/* WRITE_SESS.PHP */
Read Session Variable
/* READ_SESS.PHP */
Here is my php.ini file:
/*** PHP Initialization File ***/
asp_t
Hi,
That code causes php to crash. I have never had that happen before. Every
time I try to run that script, I am given an internal server warning.
""Johnson, Kirk"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Try as below. Note both the global and the s
Try as below. Note both the global and the session_register statements.
> function set session()
> {
> global $my_session_var,$HTTP_SESSION_VARS;
> session_start();
> $my_session_var = "Blah blah";
> session_register($HTTP_SESSION_VARS['my_session_var']);
> }
Kirk
> -Original Messa
Hi,
Just to explain a point on my previous post:
If at the top of your page that processes the registration info, you
include:
session_start();
session_register("is_registered");
is_registered="yes";
and then use this test:
if($PHPSESSID)
{
warning, redirect to login
}
else
{
record info, red
Hi,
All the session functions check to see if you have a session running first
before starting a session, to prevent you from starting two sessions by
accident. If for some reason you want to start another session, you can do
that by supplying your own session id to the function session_start()
I tried this and could not get this working either. Does anyone know which is
the best way to do it? What are the pros and cons of doing this with
track_vars or as globals?
Thanks,
Mike
> Hi,
>
> The php manual at: http://www.php.net/manual/en/ref.session.php
> says:
>
> "If track_vars is enab
Hi,
The php manual at: http://www.php.net/manual/en/ref.session.php
says:
"If track_vars is enabled and register_globals is disabled, only members of
the global associative array $HTTP_SESSION_VARS can be registered as session
variables. "
so, did you try this:
session_register($HTTP_SESSION_V
I'm still having problems with this. I was able to get sessions and session
variables working ok with register_globals=on, but I had read that it was
better not to keep register_globals on so I turned it off and I'm trying to
figure out how this works now.
I'm registering a variable in one funct
You assign to $newloop, then do a ++$newloop, and THEN dump
$newloop.
ie, you assign to 0, inc to 1, and dump 1...which isn't filled in yet.
-Szii
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, March 23, 2001 12:07 PM
Subject
Try:
if (!empty($work[$loop]))
Cal
http://www.calevans.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 2:07 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Array Cleansing
This is the code I'm currently usi
This is the code I'm currently using
/* testing stuff */
echo "\n";
/* end of test */
And this is the output I'm getting
In article <[EMAIL PROTECTED]>, Jack Sasportas
<[EMAIL PROTECTED]> writes
>PhpMyAdmin is to manage MySQL, I want to take an existing table lets say
>phone_book and then have a script generate the add/edit/modify scripts so I
>don't have to code it, and look at how it is coded...
http://phpmyedit.
jon Fri Mar 23 11:26:55 2001 EDT
Added files:
/php4/pear/DB ifx.php
Modified files:
/php4/pear/DB MAINTAINERS
Log:
Adding an Informix (ifx) database implementation.
Submitted by: "Tomas V.V.Cox" <[EMAIL PROTECTED]>
> Remove the "values" in your sql and see
Bingo!
Damn, this is *so* cool. This is going to save me much
work in the future. :)
Thanks everyone, who was involved in this thead, for the
insight! I read the docs a billion times... I'm not sure how
I missed this. :p
Chris
has anyone seen ANY information on chrooting apache? i'm interested in
file system security...keeping users from reading other users files, etc
~kurth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
folks...
when using my ImageTTFText() it behave quite strangely,
it writes my messages backwards...
can you explain me what tha hell it's going on?
--
[ Paulo Vinícius Vitto Ruthes ]
[ [EMAIL PROTECTED] ]
[ICQ#:18058144]
["Viva la cucaracha!!"]
--
PHP General Mail
try
if($var = "duck" || $var = "goose"){}else{}
now you should look into the switch-case function also
--
On Wed, 13 Dec 2000 00:19:08
JCampbell wrote:
>Thank you all for your help earlier!
>
>Now I need to know if it is possible to create a complex if statement?
>
>if ($variable=="duck") ||
Remove the "values" in your sql and see
--
On Fri, 23 Mar 2001 13:00:23
Boget, Chris wrote:
>> MySQL only supports INSERT ... SELECT ... and REPLACE ... SELECT ...
>> Independent sub-selects will probably be available in Version
>> 4.0. You can now use the function IN() in other contexts,
I'm using an .htaccess file to auto_append and auto_prepend files within a
specific directory, and it works great. Unfortunaltely if I create a new
sub-directory that doesn't have it's own .htaccess file, it too tries to
use the auto_append and auto_prepend values of the .htaccess file from th
> MySQL only supports INSERT ... SELECT ... and REPLACE ... SELECT ...
> Independent sub-selects will probably be available in Version
> 4.0. You can now use the function IN() in other contexts, however.
I tried the query in the original post and I could not get it to work.
This is what I got:
RE: [PHP] securityI was going to say that but I wasn't sure if $HTTP_HOST
would get the host of the page that is now executing or the host of where
the page was coming from.
Cal
http://www.calevans.com
-Original Message-
From: Boget, Chris [mailto:[EMAIL PROTECTED]]
Sent: Friday,
1 - 100 of 187 matches
Mail list logo