On Mon, Mar 25, 2002 at 02:49:07PM -0500, Scarbrough, Jeb (ISS Atlanta) wrote:
Is it possible to create a transaction the involves multiple pages using PHP
and oracle. For example, can I log onto oracle using OCIPLogon on one page
named master, insert information, go to the next page named
hay everyone can someone recommend a good solution for stopping my server from
crashing. I have 4. something installed on my server and something nuts happens with
the memory causing the server to crash and generate an exception. The only way I can
fix this is to re-start. I run the isapi
I have a contact form (form.php). I check the submitted data with the
same php file.
If the e-mail adress is not valid I ask the user for a valid e-mail adress.
Therefor I create a new form with the field e-mail. The valid date name,
adress, ...
I put into hidden fields, so they don't get lost.
Hi there, i'm building a form that posts to a php page. When I click on back
on my browser and then forward. It gives me this warning. Is there anyways
to avoid this?
thanks!
-David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I worked with the xmldom under php4.0.6 and everything was fine and dandy,
though since I upgraded php on my staging server which is a win2k(pro) box
to 4.1.2 there has been no way to get the libxml to work. I first tried
4.1.1, that wouldnt work, so I had a little bit of hope that 4.1.2 would do
Hi all, I'm writing a script that generate invoices in a PNG files.
My problem is that I have to write the numbers aligned to the right.
I'm using the funciotn ImageTTFText and it haven't a parm that tells the
alignment.
I looked at the IMAGE functions list in www.php.net but I didn't found
When running this code:
?php
if (is_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'])) {
copy($HTTP_POST_FILES['userfile']['tmp_name'],
C:\Inetpub\webpub\PHP\upload);
move_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'],
C:\Inetpub\webpub\PHP\upload);
} else {
echo Possible file
I got this:
Warning: Unable to create 'C:\Inetpub\webpub\PHP\upload':
Permission denied
in c:\Inetpub\webpub\PHP\upload.php on line 3
Warning: Unable to create 'C:\Inetpub\webpub\PHP\upload':
Permission denied
in c:\Inetpub\webpub\PHP\upload.php on line 4
Warning: Unable to move
Hello friends,
I have a form for registering by the users. This runs on php/mysql.
Can someone tell me how I could include auto password generation and
emailing of this password to users?
Thanks
denis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
26/03/2002 9:51:20 PM
?
$password = substr(ereg_replace([^A-Za-z0-9], , crypt(time())) .
ereg_replace([^A-Za-z0-9], , crypt(time())) .
ereg_replace([^A-Za-z0-9], , crypt(time())),
0, 8);
?
Random Password : b? echo
Hi,
I'm working with PHP and ODBC to get images stored in a database (Blob fields). But I
experiment little problems to display these pics. Has anyone any information about
PHP/ODBC/images ?
Thanks,
Bilbo
Hi,
I have moved my php files to linux system.
Now it z showing (control+M)(^M) characters in the file.
How can I remove those characters?
Any help would be appreciable.
Thanks and Regards
Balaji
**Disclaimer
Hi!
I'm trying to check the validity of given hyperlinks...
I thought this code should work (Apache 1.3.9, Win98)
$tempUrl = ereg_replace(http://;, , $url);
$fp = fsockopen ($tempUrl, $tempPort, $errno, $errstr, 30);
if (!$fp)
{
echo brerror opening $url: \$errstr=$errstr,
Is $tempPort set ?
Alastair Battrick
Senior Developer
Lightwood Consultancy Ltd
http://www.lightwood.net
-Original Message-
From: Christoph Starkmann [mailto:[EMAIL PROTECTED]]
Sent: 26 March 2002 12:40
To: '[EMAIL PROTECTED]'
Subject: [PHP] fsockopen
Hi!
I'm trying to check
Whats showing the ^M? a Linux Editor? Well the ^M are part of the newline
code on windows.
There are programs out that which will strip them, The only one I have
personally used is UltraEdit (but thats a general all purpose text/hex
editor). But I'm pretty sure there are linux command line
Hi!
Is $tempPort set ?
Yes... 80 as default...
$tempUrl = ereg_replace(http://;, , $url);
$fp = fsockopen ($tempUrl, $tempPort, $errno, $errstr, 30);
if (!$fp)
{
echo brerror opening $url: \$errstr=$errstr,
\$errno=$errnobr\n;
}
else
{
fputs ($fp, GET /
There are a few things that it could be.
Change the ereg_replace to str_replace
Try adding Host: $server_name on the line after the GET:
fputs ($fp, GET / HTTP/1.0\r\nHost: $server_name\r\n\r\n);
iirc, if the server uses virtual hosts, the GET won't work properly without
it.
If that's not
php-general Digest 26 Mar 2002 12:49:11 - Issue 1249
Topics (messages 90127 through 90174):
Re: PHPTriad Error in Windows XP.
90127 by: Peter Ruan
Re: Regular Expression Challenge
90128 by: Christopher William Wesley
90130 by: Cameron Just
90148 by: Matt
I always get a error message:document.form1.user isn't an object.
if i get rid of session_start(),everything becomes well.
thanks in advane!
?php
session_start();
?
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEADTITLElogin /TITLE
META content=text/html; charset=gb2312
something like this
function randString($length=16){
mt_srand((double)microtime()*100);
$newstring=;
if($length0){
while(strlen($newstring)$length){
switch(mt_rand(1,3)){
case 1: $newstring.=chr(mt_rand(48,57)); break; // 0-9
case 2: $newstring.=chr(mt_rand(65,90)); break;
Oohh so sorry... Now it works.
I simply forgot to crop the tailing /
from the URL. Call me stupid for now...
Thanx alot ;)
Cheers,
Kiko
-
Fool me once. Shame on you. Fool me twice. Shame on me.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
Hello friends.
I am a newbie to php. I am trying to connect to mysql with php.
I have a website called www.abcresources.com
The mysql database set up by the hosting company is called
abc_resources.com
I have a table called addressbook
I log in into the admin page with my username as user and
place these statements in your include file, which is standard for PHP
development:
$link=mysql_connect(localhost,user,12345) or die(Error: cannot
connect.mysql(error());
mysql_select_db(mydatabase) or die(Error: cannot select db:
.mysql_error());
-Original Message-
From: Denis L.
Your message of Tue, 26 Mar 2002 11:46:28 +1100:
Undefined offset- numeric index doesn't exist
Haven't seen one of these yet, but thanks for the warning ;-)
Kai
--
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com
IE-Center:
in the vi editor, type:
:1,$s/ctrl-vctrl-m//
:w!
replace ctrl-v with the control-V character and ctrl-m with the
control-M character.
-Original Message-
From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 6:16 AM
To: Php-General
Subject: [PHP] How to remove ^M
$connect = mysql_connect(localhost,user,password) or die(mysql_error);
-Original Message-
From: Omland Christopher m [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 7:55 PM
To: Cameron Just
Cc: [EMAIL PROTECTED]
Subject: [PHP] Database connection problem
Hi, can anyone help me
Hi
I have installed Phptriad in Windows 2000 and everything works fine except when I
tried to test some user authentication scripts.
-;echo
You have enter $PHP_AUTH_PW as your password.
; } ?
Julie Meloni's PHP book provides basic PHP instruction and a tutorial to
create a shopping cart.
-Original Message-
From: Septic Flesh [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 8:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] which php book 2 buy ?
I wanna buy a book from
2 questions about register_shutdown_function.
1)Functions registered with register_shutdown_function are called after the script
finishes processing. Is there a way to have a function only called when the PHP form
is actually closed?
2)The function registered with register_shutdown_function
I have moved my php files to linux system.
Now it z showing (control+M)(^M) characters in the file.
How can I remove those characters?
/usr/bin/perl -i.bak -npe 's/\r\n/\n/g' filename
where filename is the file with he ^M line endings.
Regards
jon
--
Jon Farmer
Systems Programmer,
I have a pretty basic question and was wondering if someone could point
me in the right direction:
I have a foreach loop, where I execute some commands for each element in
a certain array. One thing I would like to add to this loop is a
counter, so that on each iteration of the loop I have a
Why in a scalar? Why not pass the array through, i.e.
Foreach($test as $element)
{ echo(input type='hidden' name='test[]' value='$element');
}
Tim Ward
Internet Chess www.chessish.com http://www.chessish.com
--
From: Fabian Krumbholz - 2k web solutions
$i = 1;
foreach ($months) {
// do some things
$i++;
}
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 9:49 AM
I have a foreach loop, where I execute some commands for each
element in
a certain array. One thing I would like to
What an embarrassing oversight. I'm sorry, I figured this one out. You
don't define the $i counter variable in the loop (DUH).
$i = 1;
foreach ($months) {
// do some things
$i++;
}
Thanks to all those who may respond before reading this
Erik
On Tuesday, March 26, 2002, at 09:49
On Tue, 26 Mar 2002, Erik Price wrote:
I have a pretty basic question and was wondering if someone could point
me in the right direction:
I have a foreach loop, where I execute some commands for each element in
a certain array. One thing I would like to add to this loop is a
counter,
Balaji Ankem wrote:
Hi,
I have moved my php files to linux system.
Now it z showing (control+M)(^M) characters in the file.
How can I remove those characters?
Any help would be appreciable.
Thanks and Regards
Balaji
Hi Erik,
I have a foreach loop, where I execute some
commands for each element in a certain array.
One thing I would like to add to this loop is a
counter, so that on each iteration of the loop
I have a next higher number. The following does
not work:
foreach ($months) {
$i =
I'm trying to do something a little different in my database class I have a
method to do the query and store it in an array.
function query ($s = ) {
$q = mysql_query($s,$this-database_connect_id);
if (!$q) {
$tools-error(array(Query Resulted in NULL value));
I have developed a file upload facility that allows a user to upload a html
file to a site.
Is there a way to also upload images within the page without creating
several file uploads. The images vary between 0 and x .
Any help would be grateful
Craig
--
PHP General Mailing List
how can you take a size of a function: $len = sizeof($this-query);
and WTF (query is a function, not an array): $tq = $this-query[$q_id];
-Original Message-
From: Anzak Wolf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 9:09 AM
To: [EMAIL PROTECTED]
Subject: [PHP] MySQL
Sorry my mistake the array is $this-query_id the function is $query I still
get the same results though.
From: Rick Emery [EMAIL PROTECTED]
To: 'Anzak Wolf' [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: [PHP] MySQL arrays
Date: Tue, 26 Mar 2002 09:23:11 -0600
MIME-Version: 1.0
Yes. Your solutions fails for any file over 5k about 99% of the time. The
server I use does not have the FTP functions installed so I cannot use
these, that is why I am looking to this solution.'
Chris
Analysis Solutions [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL
Can someone tell me about the shutdown functions or give me a URL to read about them?
I have a couple of things I would like to have happen, only once, right before the PHP
page is closed.
Thanks,
Jason Goodman
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
With register_globals on, $a and $b need to be registered using
session_register(). Don't assign them to $_SESSION, PHP does that for you
with register_globals on.
1.php
-
session_start();
$a = 'some_value';
$b = 'nuther_value';
session_register('a','b');
header(location: 2.php);
2.php
On Tue, 26 Mar 2002, Denis L. Menezes wrote:
I have a website called www.abcresources.com
The mysql database set up by the hosting company is called
abc_resources.com
I have a table called addressbook
One problem you may run into is that (at least as far as I know) a MySQL
database name
You may start your search here : http://php.net/manual/en/zend.startup-and-shutdown.php
Andrey
- Original Message -
From: Jason Goodman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 26, 2002 5:40 PM
Subject: [PHP] module startup and shutdown functions
Can someone tell
CHANGE:
$len = sizeof($this-query_id);
$len++;
$this-query_id = array($len=$q);
mysql_free_result($q);
return $len;
TO:
$this-query_id[] = $q;
return sizeof($this-query_id);
second:
$q is a resource, that is, a pointer variable.
On Tue, 26 Mar 2002, Jason Goodman wrote:
2 questions about register_shutdown_function.
1)Functions registered with register_shutdown_function are called after
the script finishes processing. Is there a way to have a function only
called when the PHP form is actually closed?
2)The
On Tue, 26 Mar 2002, Fabio Spinelli wrote:
Hi all, I'm writing a script that generate invoices in a PNG files.
My problem is that I have to write the numbers aligned to the right.
I'm using the funciotn ImageTTFText and it haven't a parm that tells the
alignment.
I looked at the IMAGE
I am a newbie and need some help.
I have a form with three textboxes named firstname, lastname and
description
My table is called addressbook
Please tell me the INSERT statement. Also please tell me whether I should
include the insert statement with a php tag.
Thanks
Denis
--
PHP General
I realize that this is a newbie list, but isn't this just a tad bit
ridiculous? It's not even a PHP question really, it's a SQL
question. Here's a question... I need a form that accepts a name. Please
write the code for me so I don't have to bother looking anything up,
reading anything,
CHANGE:
$len = sizeof($this-query_id);
$len++;
$this-query_id = array($len=$q);
mysql_free_result($q);
return $len;
TO:
$this-query_id[] = $q;
return sizeof($this-query_id);
second:
$q is a resource, that is, a pointer
php and mysql web development
ISBN 0-672-31784-2
Its got a good example of a php shopping cart system in it too
Septic Flesh [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I wanna buy a book from amazon . . .but don't know which one..
Do you know where I will
On Tue, 26 Mar 2002, Denis L. Menezes wrote:
I am a newbie and need some help.
I have a form with three textboxes named firstname, lastname and
description
My table is called addressbook
Please tell me the INSERT statement. Also please tell me whether I should
include the insert
Hi Denis,
You need to give some more information, what database are you using, how is
your database table layed out? If you are using MySQL you need to use the
mysql_ functions, you can find out more about these in the PHP manual.
If you need some help getting started with PHP there are some
InterAKT released the 1.0 version of QuB, the visual query builder for
Ultradev (with PHAkt or ImpAKT). QuB is also available as a PHP/DHTML
standalone version.
QuB is an DHTML Query Builder designed to improve the way web developers
create and use queries when creating dynamic PHP websites.
Hi there,
I am wondering if it is possible to send a cookie and read it on the same
page.
Following environment:
There is a cookie already on the machine of the client, but expired.
Now I am setting a new cookie and reading it on the same page via $sess_id =
$HTTP_COOKIE_VARS[$sesscookiename];
Hi,
I did actually download DBTools and i think its' an
excellent software. It's running perfect on my system
too. Just a couple of things i'd like to ask you,
since you have already used this and i'm fairly new to
this...
You see, my MySQL server/database is on a web server,
for a online
Thanks... actually the software DBTools from
www.dbtools.com.br is excellent for the same purpose,
as suggested by someone here. It does the needful
pretty efficiently.
Cheers!
T. Edison Jr.
--- Jon Farmer [EMAIL PROTECTED] wrote:
Can anyone tell me how to convert/send data stored
in
an
Sorry for this quick OT question --
I'm skimming thru the HTTP spec but can't find anything that defines the
character limit in GET requests. I'm writing a form that uses GET to
send data to my PHP script, but I'm afraid that if the user enters too
many characters then some will get cut off.
Not possible, read the manual page about setcookie:
www.php.net/setcookie
There's a 'common pitfall' entry saying so.
Don't know why. Maybe the cookie is only written to user's disk after the
page is fully loaded, maybe for security reasons.
--
Julio Nobrega.
Um dia eu chego lá:
On Tue, 26 Mar 2002, andy wrote:
I am wondering if it is possible to send a cookie and read it on the same
page.
Following environment:
There is a cookie already on the machine of the client, but expired.
Now I am setting a new cookie and reading it on the same page via $sess_id =
On Tuesday, March 26, 2002, at 11:42 AM, Miguel Cruz wrote:
There is no chance for the server to re-read the cookies from the
browser
after step 2 above, unless, as you've observed, you refresh the page,
which in effect just repeats both steps.
One ugly way that I've gotten around this
All that you've accomplished in your example is to store the size of the
queries; you've stored no data.
Second, per my previous email: DO NOT RELEASE THE RESULT RESOURCE UNTIL YOU
ARE DONE WITH THE PAGE.
If you want to re-use a result record set, you can with the mysql_seek()
function. You do
Good day,
The RFC says that there is no limit on the size of the request. But, I
remember reading that the real world maximum is 2048 characters, which I
believe is a hard limit on some clients.
I also recall reading that there is an RFC that suggests limiting the
request to 255 characters.
I wanna buy a book from amazon . . .but don't know which one..
Do you know where I will find examples of shopping carts ?
(which book ?)
MySQL/PHP Database applications by Greenspan and Bulger ISBN
0764535374
Good book.
Also has a 40 page chapter on how to build a shopping cart complete
Direct answer: No, you cannot read a cookie on the same page that creates
it.
The question is: why would you want to?
After all, you already have the data available to you that you would read
from the cookie because you had to use it to create the cookie on that page.
-Original
On Tuesday, March 26, 2002, at 11:57 AM, Tony Crockford wrote:
MySQL/PHP Database applications by Greenspan and Bulger ISBN
0764535374
Good book.
Also has a 40 page chapter on how to build a shopping cart complete
with design rationale and working code (on CD)
I thought this would
I thought this would have been a great book if it weren't for the
numerous errors in the code sections. I highly recommend
it if you know
PHP well enough to bang out a few forms and if you know MySQL well
enough to write some INSERT and SELECT statements -- if
this is the case
then you will
On Tuesday, March 26, 2002, at 11:47 AM, Darren Gamble wrote:
It appears that you might be submitting a lot of data. If that's the
case,
you should really have your application determine the information to be
submitted and then store/create them as hidden values in a form. That
way,
You could store the query somewhere, like in a database or file, give it
an id, and store this id on a cookie. When the visitor returns, just grab
the corresponding query using the cookie's id.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
--
PHP General
I have some multiple select boxes in a form
ie
SELECT name=state[] multiple size=5 style=width:360;
option value=allall Regions /option
option value=16Region19 /option
option value=14Region14/option
option value=5Region15/option
these then get passed and
Hi,
Does anyone know of a personal web server that I can installon my Win 98 machine that
supports PHP 4.x?
Thanks,
Don
Hi Chris:
Yes. Your solutions fails for any file over 5k about 99% of the time. The
server I use does not have the FTP functions installed so I cannot use
I wouldn't really call it your solution, since it's really the
solution. FTP stands for File Transfer Protocol. If you don't have a
Hi,
Of course. The Personal Web Server that is available
with Windows 98 as an Add-On totally supports PHP4. I
have it configured on my system. I'm not sure if i
know of a place where you can download it from.. But
it's available as an Add-On with Windows 98 CD.
If you look on the net, i'm
Hi Tobias:
On Tue, Mar 26, 2002 at 11:02:50AM +0100, botsai wrote:
I worked with the xmldom under php4.0.6 and everything was fine and dandy,
though since I upgraded php on my staging server which is a win2k(pro) box
to 4.1.2 there has been no way to get the libxml to work.
Forgive me for
COSF will be a CGI foundry that produces scripts from:
- The existing projects of its members (which means if you have a project
in the works which was supposed to be finished a year ago right before you
started on the new one)
- The Scripts which have been abandoned because the scripter lost
I have a form that gets repeated depending on number of members in a
group(1 form surrounds all members). I separate the entries by assigning
a count value to the names of the inputs (Ex. input type=text
name=address$count value=). Does anyone know how I can pull the values
back out of the
In fact, using Apache Win32 Module on a Windows 98 PC
is a much better choice option rather then PWS.
Apache server gives greater flexibility support.
I don't see any reason why you should choose PWS over
Apache Win32 for your Win 98 PC?
T. Edison Jr.
--- R'twick Niceorgaw [EMAIL
Also good http://www.omnicron.ca but not free !
In fact, using Apache Win32 Module on a Windows 98 PC
is a much better choice option rather then PWS.
Apache server gives greater flexibility support.
I don't see any reason why you should choose PWS over
Apache Win32 for your Win 98 PC?
for ($i=0;$i$_POST[count];$i++)
{
echo $_POST['address' . $i] . 'br';
}
Concanate array key 'address' with $i
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
On Tuesday, March 26, 2002, at 01:18 PM, Jeff Hatcher wrote:
I have a form that gets repeated depending on number of members in a
group(1 form surrounds all members). I separate the entries by assigning
a count value to the names of the inputs (Ex. input type=text
name=address$count
I can make this just a little easier.. try this
$query = SELECT * FROM mytable WHERE t_state_id_state in (' .join(', ',
$state). ');
if $state happens to be the name of the array that is passed from the
multi-select
Jim Lucas
www.bend.com
- Original Message -
From: Rick Emery [EMAIL
In article [EMAIL PROTECTED], Septic Flesh wrote:
I wanna buy a book from amazon . . .but don't know which one..
Do you know where I will find examples of shopping carts ? (which book ?)
Creating Dynamic Web Pages Using PHP and MySQL by David Tansley.
--
Rgds
Ralph
--
PHP General
Or, of course, if you want to be cool like Carl:
http://lerdorf.com/buy/
;)
-Rasmus
On Tue, 26 Mar 2002, Ralph Friedman wrote:
In article [EMAIL PROTECTED], Septic Flesh wrote:
I wanna buy a book from amazon . . .but don't know which one..
Do you know where I will find examples of
I think to get the results you are wanting, you might try this.
input type='text' name='address[]' value=''
the address[] tells the form that this element is an array and when
submitted, will be converted into an indexed array on the process page.
so you take this new array on the process page
I didn't think Programming PHP was out yet?
On Tue, 26 Mar 2002, Rasmus Lerdorf wrote:
Or, of course, if you want to be cool like Carl:
http://lerdorf.com/buy/
;)
-Rasmus
On Tue, 26 Mar 2002, Ralph Friedman wrote:
In article [EMAIL PROTECTED], Septic Flesh wrote:
I
Amazon says it's not published yet.
So when
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 12:52 PM
To: Ralph Friedman
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: which php book 2 buy ?
Or, of course, if you want to be cool like
Brilliant thanks !
I've got three of these in my form ! lol
I think to get the results you are wanting, you might try this.
input type='text' name='address[]' value=''
the address[] tells the form that this element is an array and when
submitted, will be converted into an indexed array on
for ($i=0;$i$_POST[count];$i++)
{
echo $_POST['address' . $i] . 'br';
}
Concanate array key 'address' with $i
This works fine and I also can do the address[] but my ultimate result
is to put this in the database.
So address='$_POST['address' . $i]' fails and
address='$_POST[address][$i]'
Hi !!
I can't make this work:
PAGE 1:
?
$HTTP_SESSION_VARS[v_s]=500;
?
html
head
titleSESSION 1/title
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
/head
body bgcolor=#FF text=#00
pVariabile settata? --
?
if (isset($HTTP_SESSION_VARS[v_s])){
echo si;
}else{
echo
Try using the same session variable. Right now it looks like the first one
is v_s and the second is s_v. HTH.
Brian
-Original Message-
From: Evan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 2:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] [Session]
Hi !!
I can't make this
Totally off topic --
I thought that O'Reilly had switched to using a white binding with black
text on all of their newly-[re]printed books. The picture of the
sleeping babe with the book shows an older style, with a colored field
(green) and white text. Maybe this is a localization thing.
On Tuesday, March 26, 2002, at 02:12 PM, Jeff Hatcher wrote:
So my question is how can I put this in the database without having to
reassign my variable name?
You have to jump out of the quoted string that represents your SQL
query when you echo the value of the $_POST variable. Like
On Tuesday, March 26, 2002, at 02:14 PM, Evan wrote:
Hi !!
I can't make this work:
PAGE 1:
?
$HTTP_SESSION_VARS[v_s]=500;
?
I am probably wrong about this, but I thought that you could register
session variables using this technique only if you are using PHP 4.1.x
and you use the
Try using the same session variable. Right now it looks like the first
one
is v_s and the second is s_v. HTH.
Ops
I changed it butit doesn't work! :-((
:_(
Evan
Brian Drexler [EMAIL PROTECTED] ha scritto nel messaggio
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Try using the
I have PHP 4.1.2 (the latest, I downloaded it a week ago).
The manual says that:
*
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. The restored session variables
I know that this is 4 php questions but I bet most of you came across
something similar.
well I am running an apache server both in a linux and a win2k . .to support
my php code..
does the .htaccess .htpasswd work in both OSs?
In linux works just fine, while in windows it prompts for the
OK. I don't know how I can be more specific, but I will try. I have used
fopen(ftp://url) to upload files to the FTP server from a web form, however
this fails on files over 5k in size.
I do not have the FTP functions installed on the server I will be using.
I simply want to know how I would
I don't have any code for this, but I'm hoping someone can point me in the
right direction. I want to load images or navigation menus dynamically. Is
it possible to build a database of images and then use php to display
them? Or something along these lines. I know this must be possible,
becuase I
1 - 100 of 177 matches
Mail list logo