I see what you mean. But, personally, if the documentation didn't
explicitly say anything about it, I'd assume that it's from top to bottom
and that there's no option--of course, I could be wrong you know, there
must be something hidden...
- E
Ok, file() is docuemted, but it doesn't say
A.J.
It seems that you have exact same problem as me. Everything seems correctly
set up, the phpinfo shows;
curl
CURL support enabled
CURL Information libcurl 7.9 (OpenSSL 0.9.6b)
For the third day, I am trying to find out, but still I have not got any
useful information from
Hi,
is there an workaround to open blocks (e.g after an if condition) in the
first include and close this block in another? with the curly brace i get
parse errors.
I want to do this:
startblock.inc:
?php
if ( !$iPageRight ) {
echo p class=\fError\access denied!/p;
}
It seems that you have exact same problem as me. Everything seems
correctly set up, the phpinfo shows;
curl
CURL support enabled
CURL Information libcurl 7.9 (OpenSSL 0.9.6b)
If you see this above then you have php installed with curl
To use PHP's CURL support you must also compile
Ok I think your definently going in the right direction - when I put this
into my series I seem to be getting this message for each result:
Resource id #40 or some other number that in some way represents
something? Any Clue? Here is my SQL:
$rsum =mysql_query(select sum(rating) from
The script below works on my development web server which sits on our
company LAN. When I transfer the script to our isp hosted webserver, the
script does not work. I changed 192.168.10.9/iarnaweb/ to read localhost/
for the isp webserver version (I have also tried replacing localhost with
the
Does it have to be in the US?
Henry
René fournier [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
There are several functions in the GD library that I really, really
want to be able to use on several sites that I develop/manage.
Unfortunately, the ISP I use,
Hi
Im using file() to get the contents of a webpage. e.g
// get a web page into an array
$fcontents= file ($targeturl);
However I dont know how to mimic a different useragent. Using LWP::UA (in perl) i can
pretend to be iexplore6 running on win2k or anything i want.. Is there a way i can do
Hello,
On 08/30/2002 04:46 AM, Mark Colvin wrote:
The script below works on my development web server which sits on our
company LAN. When I transfer the script to our isp hosted webserver, the
script does not work. I changed 192.168.10.9/iarnaweb/ to read localhost/
for the isp webserver
Manuel,
My development platform is linux 7.2 and php4.0.6. The production server is
also linux (I think 7.2) but the php version 4.1.1.
On your second point, do you mean I should say something like this -
header(Location: http://ccmltdcouk.site.securepod.com/test.php;)
This is our temporary
Is there a way to set the font on a plaintext email?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
name your checkboxes like so
input type=checkbox name=mycheckbox[] value=1
on your result page you'll end up with an array of checked boxes. If the
boxes are not checked they dont appear in the array.
for quick and dirty debugging on your result page:
?
print 'pre';
Hi there.
Not on a plaintext mail, this will be decided by the mail client.
If your format the mail using html, then you will be able to format the
font.
Regards
-Scott
-Original Message-
From: Brian McGarvie [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 10:45 AM
To:
i execute a system function which works great only prob is it breaks the
header so what i need to know is how i can prevent the output from this and
append it to a variable, i allready tried appending to variable but still
outputted
Regards
Mark
--
PHP General Mailing List
You can use
exec($command, $result);
which will throw any stdout output into $result
Im not sure if it works with stderr as well, you will have to try it :)
Todd.
- Original Message -
From: Mark [EMAIL PROTECTED]
To:
Sent: Friday, August 30, 2002 7:06 PM
Subject: [PHP] hide system
on 30/08/02 6:57 PM, Scott Houseman ([EMAIL PROTECTED]) wrote:
Not on a plaintext mail, this will be decided by the mail client.
If your format the mail using html, then you will be able to format the
font.
... but that still won't guarantee it'll work... the user will have to have
the font
It's a text-based newsletter...
I have a solution i think... so it'll look the same... just need to verify
that it *should* be the same...
inserting the contents in html, but within a pre/pre?
2'nd, using the following headers, sends it as an attachment it seems...
$headers = MIME-Version:
anyone can help me what is the script for log out
WWW-authenticate
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you need plaintext newsletter, you can not use HTML at all, even
pretending that it is a plain-text.
It will be screwed badly on the plaintext-only e-mail clients anyway.
Stas
- Original Message -
From: Brian McGarvie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 30,
I'm afraid you're going to have to be more specific than that my friend.
- Original Message -
From: Hendråwan Rinäldi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 30, 2002 7:43 PM
Subject: [PHP] PHP_AUTH_USER
anyone can help me what is the script for log out
Hi all,
As I'm sure you are all aware (but this email is incase you are not), files with the
extension .scr are executable on all windows platforms.
Just now from someone on the list I have received two emails with .scr attachments. If
you receive an attachment from this list, please check
as each one I want to delete will be the smallest ID number
(as it grows with each message added to it).
I think you mean the lowest ID in the table and I suppose you're looking for
a MySQL query. As of MySQL version 4 (currently in development) you can use
delete from tablename where id in
I have some more information that may be relevant to my problem. I compared
the phpinfo() from both servers and there is a difference. The sendmail_from
variable in the php.ini on my server is set to [EMAIL PROTECTED] The same
variable on my isp's ini file is set to 'no value'. Would this stop my
Hi!
I need some help with a reg exp
I'm building a little viewer for my
http access logs, and what i'ld like to do is to clean it from alla
hits from my own ip
Take for example:
194.236.30.24 - - [30/Aug/2002:11:46:29 +0200] GET
/bildgalleri/createjpg.php?url=/v044file=v044_27.jpg
Hi all,
Look at this code:
// one.php
? include(two.php); ?
--- html code ---
// end file one.php
// two.php
? include(three.php); ?
--- html code ---
//end two.php
well, when I see in my browser www.myweb.com/two.php this shows two.php plus the
include file in it three.php, so this works
hmm.
It should have nothing to do with cookies unless you are using cookies in
the scripts.
Try using require rather than include to see if that makes any difference
Cheers
John Wards
SportNetwork.net
p.s. your english is as good as mine and i am scottish..
- Original Message -
The same problem with require
- Original Message -
From: John Wards [EMAIL PROTECTED]
To: skitum [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, August 30, 2002 1:02 PM
Subject: Re: [PHP] problem with include
hmm.
It should have nothing to do with cookies unless you are
Hi all.
I have a tag:
a href=index2.php?pg=2 CV/a
when I want to validate page (W3C online validator) , validator prints:
Line 37, column 50:
a href=index2.php?pg=2PHPSESSID=195c0283f8 ...
^Error: unknown entity
PHPSESSID
How can I solve this? (amp
hmmbeyond my scope...but I did the following to test
?//file one.php
echoone;
include (two.php);
?
?//file two.php
echotwo;
include (three.php);
?
?//file three.php
echothree;
?
And it echoed onetwothree
must be some setting on your system but what I don't knwo
John
- Original
You can use the following pattern with preg_match:
/([a-f0-9]+)((:[a-f0-9]+){7})/i
I made an assumption that you are using the x:x:x:x:x:x:x:x address
format.
Anil
On Wed, 28 Aug 2002, Adam Alkins wrote:
Hi Folks,
Seeking some guidance here. My regexp knowledge is pathetic. I
The sendmail_from variable in the php.ini on my server is set to
[EMAIL PROTECTED] The same variable on my isp's ini file is set to
'no value'. Would this stop my emails from being sent and if so can
I change this value from within my script or would it have to be
directly amended in the
From: Hendråwan Rinäldi [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 5:44 AM
Subject: [PHP] PHP_AUTH_USER
anyone can help me what is the script for log out
WWW-authenticate
You can't log out of http authentication. Close the browser is it. Not very secure,
eh. Use a
You can't log out of http authentication. Close the browser is it. Not
very secure, eh. Use a session based login method if you need logout
function.
Why not? Sending this to the client should do the job:
header('WWW-Authenticate: Basic realm=My Realm');
header('HTTP/1.0 401
Running GNU/Debian Sid. Im Running into problems, Apache cant see the
.php file (it brings up the save-as dialog everytime)
I have this line enabled (see below) still no success
AddType application/x-httpd-php .php
installed php4 4.2.2-2, php4-mysql 4.2.2-2, phpnuke 5.6-3, apache
1.3.26-1.1.
From: Stas Maximov [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 8:02 AM
To: Matt Schroebel
Cc: PHP General
Subject: Re: [PHP] PHP_AUTH_USER
You can't log out of http authentication. Close the
browser is it. Not
very secure, eh. Use a session based login method if
Take for example:
194.236.30.24 - - [30/Aug/2002:11:46:29 +0200] GET
/bildgalleri/createjpg.php?url=/v044file=v044_27.jpg HTTP/1.1 200
8874
217.215.84.222 - - [30/Aug/2002:11:46:39 +0200] POST /weblogg.php
HTTP/1.1 200 3149488
[more loglines]
Here I'ld like to remove all lines that
Still not resolved. I checked my local php.ini and the sendmail_path
variable is commented out. If I do a phpinfo() on the same server,
sendmail_path has a value of /usr/sbin/sendmail -t -i ? I don't know where
it pick up this value from but I can send emails from this server. The
production
Hi
I am wondering if it is possible to write/create/implement an
autocomplete type list box, something that will basically work the
same as when you have a normal textbox in a form and have autocomplete
enabled in the browser, but not quite exactly, I want the textbox and
the listbox to be
As others have probably told you, you can't rely on the back button and
don't try to disable it, it's part of the user interface. The user
really needs to live with the fact that if they leave the page, they
will lose the data entered.
However, there is a way to retain the data as they enter
Yes, Matt, you were right about tracking the authorized state with a
session. I actually thought about same thing: keeping a variable somewhere
which will help to decide whether to send those Authenticate headers or
not - just didn't realize you meant the same thing. :)
And a little excerpt from
Am I correct in
assuming that the SMTP and sendmail_from variables are only relevant
for webservers on windows hosts and all I need to be concerned with
is sendmail_path?
Yes, that is correct. Did you check for existence of /usr/sbin/sendmail?
Sendmail often resides in /usr/lib/sendmail, so
I actually had to set the SMTP setting to localhost on our solaris boxes to
get this to work. I discovered this because we have a few older machines
without php.ini files altogether, and the default is to have this set (the
older machines worked).
Thanks
Mark Bond
-Original Message-
Erwin,
sendmail on my local server does indeed reside in /usr/lib/sendmail although
phpinfo shows sendmail_path = /usr/sbin/sendmail -t -i it still sends the
mail? Why is this the case and would you suggest anything to enable me to
get my mail working with my isp. I do not have direct access to
I am wondering if it is possible to write/create/implement an
autocomplete type list box, something that will basically work the
same as when you have a normal textbox in a form and have
autocomplete enabled in the browser, but not quite exactly, I want
the textbox and the listbox to be
On Friday 30 August 2002 20:54, Petre Agenbag wrote:
Hi
I am wondering if it is possible to write/create/implement an
autocomplete type list box, something that will basically work the
same as when you have a normal textbox in a form and have autocomplete
enabled in the browser, but not
I have this set on both boxes. Here are the settings -
local box (which does send mail)isp box (does not send
mail)
sendmail_from melocalhost.com 'no value'
sendmail_path /usr/sbin/sendmail -t -i/usr/sbin/sendmail -t -i
SMTP
On Friday 30 August 2002 18:11, Todd Pasley wrote:
As I'm sure you are all aware (but this email is incase you are not), files
with the extension .scr are executable on all windows platforms.
If people are daft enough to be using M$ software AND they're daft enough to
execute unsolicited
Hello!
My ISP is using the open_basedir restriction which (I think) is stopping me
from using the function fopen to read a document on a different server.
I have been in contact with the ISP and they want to allow me to use the fopen
function for my purposes, but they have this restriction so
On Friday 30 August 2002 17:28, Peter Turcan wrote:
Hi all.
I have a tag:
a href=index2.php?pg=2 CV/a
when I want to validate page (W3C online validator) , validator prints:
Line 37, column 50:
a href=index2.php?pg=2PHPSESSID=195c0283f8 ...
Hy,
I have one question about html.
1. I have a form with 8 textbox. How can I put the tab order?
When I press tab I want to jump from first textbox to
textbox number 4 not to number 2.
Thanks for answer.
kale
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I have one question about html.
1. I have a form with 8 textbox. How can I put the tab order?
When I press tab I want to jump from first textbox to
textbox number 4 not to number 2.
Well, this isn't an HTML list, but I know there is a way. Check out
www.htmlhelp.com. Otherwise, Bravenet has
Use the tabindex -
td width=100 valign=topinput name=telno type=text size=60
maxlength=60 value= tabindex=1//td
-Original Message-
From: kale [mailto:[EMAIL PROTECTED]]
Sent: 30 August 2002 08:45
To: [EMAIL PROTECTED]
Subject: [PHP] About html
Hy,
I have one question about html.
Hi!
Go to http://javascript.internet.com and look into the forms section.
You´ll find what you need.
Regards
Alex
Petre Agenbag writes:
Hi
I am wondering if it is possible to write/create/implement an
autocomplete type list box, something that will basically work the
same as when
Hello All,
Is it possible to change the include path when a script is runing without
having to change the php.ini file?
TIA
Henry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How do you write files so that theyre chmoded 777 by default. the folders
theyre written to are 0777 but the files aren't. so i cant delete or modify
the files through PHP, i have to first chmod them with FTP, which takes
ages.
--
Regards,
Georgie Casey
[EMAIL PROTECTED]
refer to:
string ini_set ( string varname, string newvalue)
Henry [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello All,
Is it possible to change the include path when a script is runing without
having to change the php.ini file?
TIA
Henry
--
Hi
If people are daft enough to be using M$ software AND they're
daft enough to
execute unsolicited executables then they deserve whatever they get.
Yep I agree, although, I would prefer if people didnt then be email me again
with already hundreds of emails a day... I dont need this as well.
On Friday 30 August 2002 20:53, Georgie Casey wrote:
How do you write files so that theyre chmoded 777 by default. the folders
theyre written to are 0777 but the files aren't. so i cant delete or modify
the files through PHP, i have to first chmod them with FTP, which takes
ages.
umask()
--
Georgie Casey wrote:
How do you write files so that theyre chmoded 777 by default. the folders
theyre written to are 0777 but the files aren't. so i cant delete or modify
the files through PHP, i have to first chmod them with FTP, which takes
ages.
There are a number of things you may find
mdew wrote:
Running GNU/Debian Sid. Im Running into problems, Apache cant see the
.php file (it brings up the save-as dialog everytime)
I have this line enabled (see below) still no success
AddType application/x-httpd-php .php
And restarted Apache? Is there more than one httpd.conf or is it
I have a form that asks customers which of 42 categories they are
interested in. I have created three tables to handle the results.
Everything writes to the pf_survey table with no problems and only the
first checkbox selected writes to the cat_survey table. What am I
missing? Is it something in
Brian,
Please be aware that many email clients will NOT read HTML. The human
readers are then presented with raw HTML and get very ...?... upset about
it! (that's why list postings are not supposed to be in HTML/rich text
format)
Regards,
=dn
It's a text-based newsletter...
I have a
At 16:42 30/8/2002 +1200, David Robley wrote:
In article [EMAIL PROTECTED], [EMAIL PROTECTED]
says...
Is this snippet from the docs possibly relevant?
Chapter 17. HTTP authentication with PHP
The HTTP Authentication hooks in PHP are only available when it is running
as an Apache module and is
This is a slightly off topic question. My apologies to any that this may
aggravate.
Is it safe to assume that email addresses are accepted by all servers case
insensitive?
So that if I have an email application accepting emails I can safely
strtolower($email) the address and be sure that all
Ron Dyck wrote on Fri, Aug 30, 2002 at 01:28:34PM -0400:
Is it safe to assume that email addresses are accepted by all servers case
insensitive?
accepted, yes, perhaps, but per rfc2821 says:
The local-part of a mailbox MUST BE treated as case sensitive. Therefore,
SMTP implementations MUST
Hi All,
Relatively new to PHP and Apache. I've had some trouble setting up my own
web server for learning on - I basically have no idea where to start in
order to get them both working together. Does anyone have a link to a
website (or the time to help me) that I could take a look at? I'd much
Can anyone tell me why my emoticons arent appearing? Please?
Note: $message is a variable set by a form. The field `pattern` is the
string to search for, like :-), and `url` is the relative url to the
emoticon. I just get the plain text, no replacement emoticon. Note: this bit
is above the
Is there a regular expression that will remove 1, L, I, O, 0 and the
lowercase equivilants from a varialbe?
I am not horribly well versed in regular expressions...so I'm basically
asking someone to help :)
Say I have a string like this jeD1GLal
I want to remove any of the chracters that be
The parameters to the eregi_replace() are not passed by reference. You need
to set a variable to capture the returning value.
Read the manual..
http://www.php.net/manual/en/function.eregi-replace.php
-Kevin
- Original Message -
From: Tony Harrison [EMAIL PROTECTED]
To: [EMAIL
I've got a lil problem with HTML tags. Here's the description.
My site accepts HTML files by upload. A lot of these files are written in MS
Word and then saved as HTML files from that. MS Word likes to put a bunch of
garbage at the beginning of the file. Now, when users upload their HTML
files,
Check the manual at www.php.net. There are installation instructions in
it...
On Sat, 31 Aug 2002, Kris wrote:
Hi All,
Relatively new to PHP and Apache. I've had some trouble setting up my own
web server for learning on - I basically have no idea where to start in
order to get them both
$str = jeD1GLal;
$str = ereg_replace([1LIO0lio], , $str);
something like that...
On Fri, 30 Aug 2002, Jeff Lewis wrote:
Is there a regular expression that will remove 1, L, I, O, 0 and the
lowercase equivilants from a varialbe?
I am not horribly well versed in regular expressions...so I'm
Greetings. Can someone please enlighten me on the best way to get information from a
comma delimited file, to a variable?
Example. A client updates a comma delimited list of names to a directory on a server,
my script would need to read in the entire list and turn it into a variable.
Once it
http://www.php.net/manual/en/function.file.php
On Fri, 30 Aug 2002, Shane wrote:
Greetings. Can someone please enlighten me on the best way to get information from a
comma delimited file, to a variable?
Example. A client updates a comma delimited list of names to a directory on a
server,
i write these files in a for-next loop, so at the start of each loop, i've
to put an unmask command?
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
Newsgroups: php.general
To: [EMAIL PROTECTED]
Sent: Friday, August 30, 2002 4:11 PM
Subject: Re: [PHP] Writing Files
On Friday
Hi
I found an alternative to using file to get web content.
using fsockopen you can specify a useragent as per rfc-something which
handles it all very very nicely.
Its also nicer that what I was using to post and is looking more likely to
store cookies/sessions... but ill get to that later :)
On Saturday 31 August 2002 02:16, Webmaster wrote:
i write these files in a for-next loop, so at the start of each loop, i've
to put an unmask command?
If the manual is correct then the answer in no. Once per page would be enough.
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
After resolving other script problems, a new one has surfaced. The 'Guest
Registration/Confirmation' script works as expected. It inserts a random id
number, then fowards it to the guest's email address, and awaits confirmation
(by clicking on the Confirmation URL).
Postfix says that the mail
How do I get PHP to automatically open another PHP page in a browser if a
condition is met?
I have a pull down HTML table that submits a form to a PHP script. That
script then uses a little logic to figure out which web page to go to. I
have 5 different pages, and each has different content.
When trying to do this query:
$rsum =mysql_query(SELECT SUM(rating) FROM ratings where threadid = $ratevar)or
die (mysql_error());
This is the output:
Resource id #15
or some other seemingly arbitrary Resource ID number?
First of all what is a resource ID and second how do I get it to actually
On Saturday 31 August 2002 03:25, Andre Dubuc wrote:
But checking the mailbox of '[EMAIL PROTECTED]' (and three others that I've
sent it to) nothing shows up. Now, what's strange, it used to work
perfecttly before I made minor changes to $message. I've
scanned/debugged/scratched my head but
A better, NON-CLIENT-SIDE way to do it, is you could have the page you're
submitting to write the POST values to a session.
So the top lines of your form handler page would be something like:
?
session_start();
foreach($HTTP_POST_VARS as $key = $val)
{
if($val != '')
{
On Friday 30 August 2002 03:38 pm, you wrote:
On Saturday 31 August 2002 03:25, Andre Dubuc wrote:
But checking the mailbox of '[EMAIL PROTECTED]' (and three others that
I've sent it to) nothing shows up. Now, what's strange, it used to work
perfecttly before I made minor changes to
On Saturday 31 August 2002 03:25, Brian Shannon Windsor wrote:
Please do not be lazy and choose a proper descriptive text for your subject.
Imagine the blandness and confusion and the utter uselessness if everybody
used generic subjects such as Help, Quick question, This one is easy,
What
include($thefile..html);
http://www.php.net/manual/en/function.include.php
header(Location: .$thefile);
http://www.php.net/manual/en/function.header.php
-Kevin
- Original Message -
From: Brian Shannon Windsor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 30, 2002 1:25
On Saturday 31 August 2002 03:52, Andre Dubuc wrote:
What 'minor' changes did you make to $message? Does rolling back those
changes make it work again?
I had just added another text sentence between blah, blah, blah' and
'https://'. And yes, I tried rollbacks to when it worked. Nope -
On Friday 30 August 2002 03:57 pm, you wrote:
On Saturday 31 August 2002 03:52, Andre Dubuc wrote:
What 'minor' changes did you make to $message? Does rolling back those
changes make it work again?
I had just added another text sentence between blah, blah, blah' and
'https://'.
Hello,
On 08/30/2002 05:26 AM, Mark Colvin wrote:
My development platform is linux 7.2 and php4.0.6. The production server is
also linux (I think 7.2) but the php version 4.1.1.
If it is not sending a message, maybe the mail() function is not enabled
because configure could not find sendmail
Hello,
On 08/30/2002 07:15 AM, Mark Colvin wrote:
I have some more information that may be relevant to my problem. I compared
the phpinfo() from both servers and there is a difference. The sendmail_from
variable in the php.ini on my server is set to [EMAIL PROTECTED] The same
variable on my
Hello,
On 08/30/2002 05:44 AM, Brian McGarvie wrote:
Is there a way to set the font on a plaintext email?
You may try setting some styles like enclosing text for *bold* or
/italic/ but changing font in plain text is not possible.
Another thing you may want to do is to send a message in HTML
Just do this:
Header(Location: $where_you_wanna_go\n\n);
And make sure you do this before produce any HTML autput !! Hope this is
helpful !!
How do I get PHP to automatically open another PHP page in a browser if
a condition is met?
I have a pull down HTML table that submits a form to a PHP
Can anyone explain why the following code operates the way it does in my
comments?
?php
$test = array ( 'a' = 'A', 'b' = 'B', 'c' = 'C');
if (array_key_exists(2, $test)) echo It works by key number!; // Does not
work.
if (array_key_exists('c', $test)) echo It works by key name!; // Works.
Can you telnet/SSH to the machine install CURL in your home directory?
You shouldn't have to be root to do this.
Or, are you trying to get CURL loaded into PHP?
--
JR
-Original Message-
From: Henry [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 2:21 AM
To: [EMAIL
what is php's request object?
like in ASP - Request(variable)
Jeff
UWG Student
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
To upgrade from 4.0.6 to 4.1.1, do I have to fix any code? I think session
code has to change but is there anything else?
Thanks
K.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 30 Aug 2002, Cameron Thorne wrote:
Can anyone explain why the following code operates the way it does in my
comments?
Sure.
?php
$test = array ( 'a' = 'A', 'b' = 'B', 'c' = 'C');
An associative array, $test.
if (array_key_exists(2, $test)) echo It works by key number!; //
That does help, yes. So basically there is no way to access associative
arrays using numerical indices?
I was hoping I could access by either name OR number, but apparently not.
Thanks!
-- Cameron
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi,
Note that its now 4.2.2 and all globals variables have changed. You must
activate register global into your php.ini if you dont want to modify your
scripts.
--
Merci de nous avoir choisi. - Thanks you for your choice.
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
[EMAIL PROTECTED]
I'm trying to get the one variable I stored insite a session, the
variable's name is $username I am trying to do it like this, but I think
it's wrong:
$PHPSESSID = session_encode();
$username = session_decode();
It tells me I have wrong parameters for session decode.
What am I supposed to
John,
This is the output:
Resource id #15
or some other seemingly arbitrary Resource ID number?
First of all what is a resource ID and second how do I get it to actually
show what I am trying to get it to show!
=When MySQL returns data to PHP, the information is put into a variable
called a
1 - 100 of 144 matches
Mail list logo