I understand that if an expiration time is not set, the cookie should
expire at the end of the session (when the browser is closed). This is
not happening.
What is wrong here?
I would actually prefer for the cookie to expire when the user left the
Web site. Any ideas?
Thanks,
--
David A McIn
Hi,
We are currently using PHP 4.0.4pl1 with the following configure:
./configure
--with-apxs
--with-mysql
--with-gd
--with-zlib
--prefix=/usr/local/php/
This configuration works with GD 1.3-6 and Freetype 1.x.
When we try to upgrade to PHP 4.1.2 with the same configuration, we can
On Thursday 14 March 2002 14:14, Analysis & Solutions wrote:
[snip]
> The examples on that page are lame. For example:
>
>if($HTTP_COOKIE_VARS['username']){
> // can only come from a cookie, forged or otherwise
> $good_login = 1;
> fpassthru ("/highly/sensitive/data/index.
On Thursday 14 March 2002 16:07, gee wrote:
> A real newbie would be grateful for some help.
> I have a sports club membership database (Mysql) with first and last names,
> address and paid or not paid.
> In edit.php I would like to be able to pre-fill a list box with whether the
> person has pai
At 9:22 AM +0100 14/3/02, David Brannlund wrote:
>This configuration works with GD 1.3-6 and Freetype 1.x.
>
>When we try to upgrade to PHP 4.1.2 with the same configuration, we can't
>use the ImageTTF* functions. We tried to add --with-ttf to the configuration
>with the result that apache wouldn
Hi friend,
I am getting null values (0) for the following program.
what will be the problem?
Any help greatly appreciable!!
example.php
===
startdate.'endtime'.$row->enddate;
}
mysql_close($connection);
?>
==
Hi,
UNIX_TIMESTAMP(2002-03-21 08:30:00) and
mktime(2002,03,21,08,30,00) equal or not?
But both are same timestamp..but returning values are
different.y?
Unixtimestamp from Mysql :1016679600
Unixtimestamp from PHP :953699601
y this much
> Unixtimestamp from Mysql :1016679600
> Unixtimestamp from PHP :953699601
> y this much difference?
A PHP timestamp is the number of seconds since 1st Jan 1970
A MySQL UNIX_TIMESTAMP is the date in MMDDHHMMSS format.
Cheers
Jon
--
PHP General Mailing List (http://www.php.net/)
To uns
Hi,
I would like to solve this problem on my apache-php instalation
Fatal error: Call to undefined function: ibase_connect() in
/home/pcash/public_html/includes/conexioninterbase.inc on line 7
To solve first i have try to do
[root@www download]# rpm -i php-interbase-3.0.16-2bc.i386.rpm
error:
On Thursday 14 March 2002 17:38, Balaji Ankem wrote:
[snip]
> $sql1="select UNIX_TIMESTAMP('start_date')
> startdate,UNIX_TIMESTAMP('end_date') enddate from request where
> req_status='Approved'";
Did you try entering this query ($sql1) into mysql at the command line to
ensure t
>UNIX_TIMESTAMP(2002-03-21 08:30:00) and
>mktime(2002,03,21,08,30,00) equal or not?
Careful, 08 != 8
A leading 0 indicates an octal number in PHP.
Also, you have the arguments to mktime() completely messed up. It is
hour, minute, second, month, day, year. 2002 is a strange-loo
On Thursday 14 March 2002 18:03, Balaji Ankem wrote:
> Hi,
>UNIX_TIMESTAMP(2002-03-21 08:30:00) and
>mktime(2002,03,21,08,30,00) equal or not?
>
> But both are same timestamp..but returning values are
> different.y?
>
> Unixtimestamp from Mysql :1016679600
>
On Thursday 14 March 2002 18:11, Jon Haworth wrote:
> > Unixtimestamp from Mysql :1016679600
> > Unixtimestamp from PHP :953699601
> > y this much difference?
>
> A PHP timestamp is the number of seconds since 1st Jan 1970
To be pedantic, in PHP it is time()
> A MySQL UNIX_TIMESTAMP is the dat
Hy list,
seems like my PHP installation won't send mails with qmail. I'm using
it with vpopmail. As suggested in the manual nots for mail() I tried
using both /path/to/qmail/bin/sendmail -t -i and directly using
/path/to/qmail/bin/qmail-inject for sendmail_path in php.ini.
Anyway ... it doesn't
**Disclaimer
Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
Hi friend,
I need some help on this logic...
1. I have some range (A to B) which is fixed and A,B are very large
numbers.(A
**Disclaimer
Information contained in this E-MAIL being proprietary to Wipro Limited
is 'priv
Hi there,
I know this is not a unix board, but maybe someone had to cope with the same
problem.
I have a couple of wired filenames matching all this pattern .jpeg:
How can I delete all files matching this pattern recursive in all
directories?
I tryed : rm -r test *.jpeg:*
But this only delete
> -Original Message-
> From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
> Sent: 14 March 2002 11:51
>
> Hi friend,
> I need some help on this logic...
>
>
> 1. I have some range (A to B) which is fixed and A,B are very large
> numbers.(A
> 2. I have X to Y and I want to check this r
First of all, take that 'I want to know when you received my e-mail'
-thingie away. It's anoying.
But to the solution:
if ((x < A || x > B) && (y < A || x > B))
{
do something..
}
Niklas
-Original Message-
From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
Sent: 14. maaliskuuta 2
Hi there,
I am wondering, how I could test the mail functions of php on a local
machine. Do I have to install something like a mailserver, or does this come
with php?
Maybe someone knows some good articles on that.
Thanx, Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Last X should be Y.
Niklas
-Original Message-
From: Niklas Lampén [mailto:[EMAIL PROTECTED]]
Sent: 14. maaliskuuta 2002 14:05
To: Php-General
Subject: RE: [PHP] Hi some logic help is required!
First of all, take that 'I want to know when you received my e-mail'
-thingie away. It
> -Original Message-
> From: Scott St. John [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2002 21:32
>
> I am working on a javascript box that will allow the user to
> drag values
> from one select box to another. I will use this box to set
> the values.
> This is a standard, multiple s
On Thu, 14 Mar 2002, andy wrote:
> Hi there,
>
> I am wondering, how I could test the mail functions of php on a local
> machine. Do I have to install something like a mailserver, or does this come
> with php?
If you are using a Unix/Linux type server for your local system, sendmail
(or an equ
On Thursday 14 March 2002 20:01, andy wrote:
> Hi there,
>
> I know this is not a unix board, but maybe someone had to cope with the
> same problem.
>
> I have a couple of wired filenames matching all this pattern .jpeg:
>
> How can I delete all files matching this pattern recursive in all
> dire
Hello,
Can anyone please tell me is there any function in php for sorting in
which the contents are stored in array
-Uma
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,I'am Beginner in PHP, Now I meet a Problem with Session .
I am Using Session to track my php web application Users ,I just want to
know Who is online and Who has offline. I make a Quit Botton on my webpage,
But Someone do not use it to quit my system .So I Can't know who has quit my
system d
check the 1001 sort functions in the manual http://www.php.net for
instance...
Edward
- Original Message -
From: "Uma Shankari T." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 14, 2002 1:36 PM
Subject: [PHP] Sorting in php
>
> Hello,
>
> Can anyone please tel
14/03/2002 10:51:10 PM
Hi, I was wondering how I'd go about manipulating some command line
software through PHP. For instance, I have an FTP program installed
that allows you to add users through the command line, but it's in this
format:
---
Hy,
When I try to see my page I have this message and I
don't know why.
If someone can explain to me.
Thank You
Parse error: parse error, expecting `')'' in
liensfr.php on line 17
Source code :
Liens
$db = mysql_connect(database);$sql= "SELECT *
FROM liens";$res = mysql_query($sql, $d
This is not truly a php programming question but a problem I have when
programming php on which I was hoping someone would shed some light.
When I write php code I generally upload directly to a server via ftp. As I
am on a pretty fast adsl line I have never seen toi the need to have a sever
setu
Hello!
I have a trouble :(
When I try this:
--[index.php]--
--
--[M/one.php]--
\n";
print_r(get_defined_vars());
print "\n";
?>
--
At output i'll gets nothing :(
No any global variables.
But, at index.php I get it all.
If I move include() to global scope, all ok.
It's featu
For ($i = 1; $i < ($nbline+1); $i++) { // Line 17
not :
For ($i = 1; $i < ($nbline+1); i++) { // Line 17
hope it helps you
SR
Jérome Moisy a écrit :
> Hy,When I try to see my page I have this message and I don't know
> why.If someone can explain to me.Thank You Parse error: parse e
You could modify near line 575 of tetrisIE.html:
function Show_Score() {
_block.score.document.forms[0].High_Score.value = high_score;
_block.score.document.forms[0].Game_Score.value = game_score;
}
to something similar to:
function Show_Score() {
document.images['hiddenimage'].src="scrip
The greater question: Why does irow order matter? What are you REALLY
trying to do?
==
In article <000701c1cb06$3b54f3b0$0101a8c0@nightengale>,
[EMAIL PROTECTED] says...
> Hello,
>
> How can I get the number of the current row, something like this:
>
> $sql = mysql_query("SELECT
Hi,
I have a problem in my build php-4.1.2.
config.cache :
...
ac_cv_path_PROG_SENDMAIL=${ac_cv_path_PROG_SENDMAIL=/usr/sbin/sendmail}
...
When i run my script php the follow error happens:
Warning: mail() is not supported in this PHP build in /usr/httpd/cnm/fale.php on
line 45
What the
I use qmail with PHP on a RH v 7.0 system. Works like a charm.
I compiled/installed qmail from source. Installed RH, Apache, PHP from
RPMs.
I'm not at my home-office, where I have this set-up, so I cannot provide you
with my set-up info. I dod not use vpopmail yet, but I will soon instll it
a
Can't read your mind, bud.
Show us your code...
-Original Message-
From: David McInnis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 2:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Cookies not expiring
I understand that if an expiration time is not set, the cookie should
expir
I think that since you are including a file into a function - the vars
become local so they only exist when the function is running. Therefore,
a call to get_defined_vars will not show them since the vars do not
exist in the global scope. In fact, during the call to get_defined_vars,
the included
On Wednesday, March 13, 2002, at 04:31 PM, Scott St. John wrote:
> If I send 5 fields to the next page PHP will show me one when I echo the
> variable to the page. If I try to split the varaiable I still get only
> one value in the echo. Tried to reponse.write it in asp and I get the
> string
Form elements are passed to the following page as variable names. For
instance, the text value in subject 1 input element:
is passed to the following page as: $subject1
-Original Message-
From: PHPList [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 11:59 PM
To: [EMAIL PROT
: I think that since you are including a file into a function - the vars
: become local so they only exist when the function is running. Therefore,
: a call to get_defined_vars will not show them since the vars do not
: exist in the global scope. In fact, during the call to get_defined_vars,
: the
index.html
mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 4:51 PM
To: [EMAIL PROTECTED]
Subject: [PHP] CLI through PHP
14/03/2002 10:51:10 PM
Hi, I was wondering how I'd go about manipulating some command line
software through PHP. For instance, I have an FTP program
On Wednesday, March 13, 2002, at 07:36 PM, Analysis & Solutions wrote:
> Sure it works... execpt when people who have Java'sCrap turned off come
> to your site. Oh, and then there's the folks with browsers that don't
> have JS at all? HTTP headers work across all browsers.
> header('Location:
On Wednesday, March 13, 2002, at 10:27 PM, David Robley wrote:
> If you are using a SELECT MULTIPLE you need to name the item as an
> array,
> e.g. NAME="multi[]" - then loop through the array in the target script
> to
> extract the values. Don't forget to either define a default selection or
... and AFAIK, if you're running windows, read 'php.ini'
and you can specify an SMTP server to use for mail
sending.
andy thomas wrote:
>
> On Thu, 14 Mar 2002, andy wrote:
>
>
>>Hi there,
>>
>>I am wondering, how I could test the mail functions of php on a local
>>machine. Do I have to instal
Pipes.
I've only had to do it with perl, so i have no idea
what the syntax or function calls are with PHP, but
i'm almost positive that PHP supports reading/writing
to/from pipes.
Liam wrote:
> 14/03/2002 10:51:10 PM
>
> Hi, I was wondering how I'd go about manipulating some command line
> soft
On Thu, 14 Mar 2002, Liam wrote:
> 14/03/2002 10:51:10 PM
>
> Hi, I was wondering how I'd go about manipulating some command line
> software through PHP. For instance, I have an FTP program installed
> that allows you to add users through the command line, but it's in this
> format:
>
> -
Yes, I have tried that. To view them on the next page I would call
them as $choice[0];$choice[1];, etc, but only the first item in the list
is available.
-Scott
On Thu, 14 Mar 2002, Erik Price wrote:
> Did you try putting brackets at the end of the input names? This tells
> PHP to put the v
Hi all,
We have a unix server with apache and php on it. We have a set of client
site that all share the same codebase. Our problem is that we end up with
multiple URL layouts for essentially the same thing. Let me explain.
Say we have clients x, y, and z. These buy template sites from us, and
a
Hi,
How can i get the greatest key of an array??
$array[1] = "...";
$array[5] = "...";
$array[0] = "...";
$array[10] = "...";
$array[7] = "...";
$greatest_key = ??? (this must be 10 in this example)
Alex Elderson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
> I use qmail with PHP on a RH v 7.0 system. Works like a charm.
Same here, RH 7.0 with some updates from RPM.
> I compiled/installed qmail from source. Installed RH,
Apache and PHP from source, too.
Do you have a possibility to look at a phpinfo() page? There the
option your php version use
On Thursday, March 14, 2002, at 09:33 AM, Scott St. John wrote:
> Yes, I have tried that. To view them on the next page I would call
> them as $choice[0];$choice[1];, etc, but only the first item in the list
> is available.
Hm... have you tried using a loop to get their values, rather than us
On Thursday, March 14, 2002, at 09:47 AM, Alex Elderson wrote:
> How can i get the greatest key of an array??
>
> $array[1] = "...";
> $array[5] = "...";
> $array[0] = "...";
> $array[10] = "...";
> $array[7] = "...";
>
> $greatest_key = ??? (this must be 10 in this example)
I think you mean t
krsort(array)
then grab first key.
-Original Message-
From: Alex Elderson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 8:47 AM
To: [EMAIL PROTECTED]
Subject: [PHP] get the greatest key of an array???
Hi,
How can i get the greatest key of an array??
$array[1] = "...";
$arr
Here is what I am using to set my cookie.
$cp_sessionid = $CP_partnerid . "_" .
uniqid(str_pad(getenv("REMOTE_ADDR"), 15, "0"));
setcookie('cp_sessionid', $cp_sessionid);
David McInnis
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 6:01 A
Ok, how about a code snipet since I seem to be blind this morning. The
select box code:
$groupName";
}
?>
On the next page I tried the code Erik recommended doing this:
foreach ($groups as $group_list){
echo $group_list;
}
Any eye openers? Thanks,
-Scott
On Thu, 14 Mar 2002, E
OK...that looks valid.
Now, what indications are you getting that the cookie is not expiring when
you close the browser?
As far as expiring when user leaves the web-site? M.C. Hammer said it
best...can't touch that
-Original Message-
From: David McInnis [mailto:[EMAIL PROTECTED]]
Sent:
On Saturday, March 13, 2010, at 10:15 PM, Jennifer Downey wrote:
> I am no DHTML expert and don't even know the language also didn't know
> where
> to post this. But after today I am going to learn.
Isn't DHTML more of a buzzword? i don't think it's really a language.
It just refers to usi
On Thursday, March 14, 2002, at 09:52 AM, Scott St. John wrote:
> Ok, how about a code snipet since I seem to be blind this morning. The
> select box code:
>
>
> $sql = "select groupID,groupName from groups order by groupName";
>
...
> Any eye openers? Thanks,
>
> -Scott
Sure! First g
On Thursday 14 March 2002 22:56, Daniel Reichenbach wrote:
> > I use qmail with PHP on a RH v 7.0 system. Works like a charm.
>
> Same here, RH 7.0 with some updates from RPM.
>
> > I compiled/installed qmail from source. Installed RH,
>
> Apache and PHP from source, too.
>
> Do you have a possi
Aside from creating an .ht* type of list, it is possible to simply
auth against a valid user on the server in question?
Looking to do the following;
User wishes to access directory... enters their system
login/passwd... login is auth'ed against the system password list...
php then performs
On Thu, 14 Mar 2002, Erik Price wrote:
> Sure! First go get a cup of coffee! :)
> Then change the first line to say this:
>
> Let me know how that works for you.
Erik-
I don't do coffee, but the Iced Tea works just as well :) Thank you, all
is well and my happy face is back on. I was missi
Hi,
I have the following probably very simple problem.
Basically what I need to do is to collect info from the user
via 4 steps... like a set of throughout
STEP 1 of 4 ... STEP 4 of 4... etc... submitted to db on
STEP 5.
The only problem I have is I need to display on
step 3, and once again
stripslahses($variable)
-Original Message-
From: Vlad Kulchitski [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 9:26 AM
To: [EMAIL PROTECTED]
Subject: [PHP]
Hi,
I have the following probably very simple problem.
Basically what I need to do is to collect info from the user
I mean:
stripslashes($variable)
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 9:24 AM
To: 'Vlad Kulchitski'; [EMAIL PROTECTED]
Subject: RE: [PHP]
stripslahses($variable)
-Original Message-
From: Vlad Kulchitski [mailto:[EMAIL PR
On Thursday, March 14, 2002, at 10:26 AM, Vlad Kulchitski wrote:
> The only problem I have is I need to display on
> step 3, and once again the same on step 4
> so that user has another chance to review what s/he's
> written in and on the fifth page all date submitted to db.
> The problem tho
how would i build a regular expression in php that would match
everything but the given word. For example, match the string only if
there isnt a word 'php' in the string.
I understand i can list characters i dont want to see in the string:
[^php].
but this means there cant be any p or h in the str
Hi,
I have a windows 2000 Database Server with IBM DB2 V7.2 FP5
I have a linux web server with Apache/PHP
I installed IBM DB2 IMAGE Extender and enable my database for it.
Now I'm uploading a file to the server and I want to copy this file in the
database.
I'm using the following script:
$u
the best you can do is:
-Original Message-
From: Ando Saabas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 9:33 AM
To: [EMAIL PROTECTED]
Subject: [PHP] regular expression for (NOT 'word')
how would i build a regular expression in php that would match
everything but the giv
Please take a look at the script below.
If i want to show an image it doesnt work if it's under an if statement.
Why in this case?
";}
echo "";
?>
How can i solve this problem?
thank you!
Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
Ok let me explain my problem further some. I need the regular expression to
purify the html page from script tags:
I used: $file = eregi_replace("(.*)", " ", $file);
Now this works fine, until theres a webpage like:
script data.
Some webpage data
another script data
so the regexp above replaces
Also another question, my fileupload works everywhere (IE, Netscape) but
Opera. Does Opera support it at all?
My fileupload is very simple. It checks is the file is JPEG/GIF/BMP and
then
saves it, if not, gives an error message.
Vlad
--
PHP General Mailing List (http://www.php.net/)
To unsubs
Is it legal for an if...else statement to span PHP code blocks? Here's
an example:
MORE HTML CODE HERE
I have some code similar to this example. When I run the code in my
browser, I get a parse error on the last line (?>).
--
PHP General Mailing List (http://www.php.net/)
To u
Of course it's legal, absolutely.
You have to make sure though that you
don't use double quotes in php portion,
and if you do, you have to escape them
for instance:
echo "";
if you paste the code that's causing the
problem, we can take a look.
Vlad
-Original Message-
From: Brad Harrig
On Thu, 14 Mar 2002, Brad Harriger wrote:
>
> // Now back to the PHP code
>
>$d = 250;
> }
> else {
>$e = "Does not apply."
> }
>
> ?>
>
> I have some code similar to this example. When I run the code in my
> browser, I get a parse error on the last line (?>).
Replace:
$e = "Does no
On Thursday 14 March 2002 23:57, Vlad Kulchitski wrote:
> Also another question, my fileupload works everywhere (IE, Netscape) but
> Opera. Does Opera support it at all?
>
> My fileupload is very simple. It checks is the file is JPEG/GIF/BMP and
> then
> saves it, if not, gives an error message.
This problem was fixed in the CVS.
Best regards,
Andrey Hristov
- Original Message -
From: "Vlad Kulchitski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 14, 2002 5:57 PM
Subject: [PHP] Opera broswer & file upload
Also another question, my fileupload works everyw
The message I get is that the file is invalid format...
I tested on Netscape 4.xx and Netscape 6.xx
tested on IE 4 through 5. Works fine.
I can paste the code I am using if you want to take a look.
Vlad
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: 14 ÂÅÒÅÚÎÑ 2
This is the code I am using for uploading:
if(($userfile) && ($userfile != "none"))
{
$type=basename($userfile_type);
switch ($type)
{
case "jpeg":
case "pjpeg": $filename="talkroom_gallery_photographs/$username.jpg";
copy($userfile, $filename);
CVS is the code repository. The PHP code is developed by many programmers and the CVS
is used to store the code.
CVS = concurent versioning systems. It is used to prevent race conditions when two or
more programmers are writing/patching a code.
Also there are many other pretty things.
So when bu
If I have magic quotes on, will stripslashes() / addslashes() work? Doesn't seem to
work for me...
-Original Message-
From: Vlad Kulchitski
Sent: 14 ÂÅÒÅÚÎÑ 2002 Ò. 11:10
To: [EMAIL PROTECTED]
Subject: [PHP] Opera broswer & file upload / MY CODE
This is the code I am using for uploadin
Thank you VERY much!!! Worked like a charm...
David
"Richard Archer" <[EMAIL PROTECTED]> wrote in message
news:a05100301b8b615655f5f@[203.89.243.68]...
> At 9:22 AM +0100 14/3/02, David Brannlund wrote:
>
> >This configuration works with GD 1.3-6 and Freetype 1.x.
> >
> >When we try to upgrade
Look here for more info about file upload problems with Opera:
http://bugs.php.net/search.php?cmd=display&search_for=opera&x=0&y=0
Andrey
- Original Message -
From: "Vlad Kulchitski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 14, 2002 5:57 PM
Subject: [PHP] Opera
Also you have to close all instances of the browser for this to occur.
That is even if you close the browser that has a session to the site if
you have another window open to any other site then the cookie
stays.
> OK...that looks valid.
>
> Now, what indications are you getting that the coo
On Friday 15 March 2002 00:10, Vlad Kulchitski wrote:
> This is the code I am using for uploading:
>
> if(($userfile) && ($userfile != "none"))
> {
>
> $type=basename($userfile_type);
[snip]
Hmm, Andrey says the bug has been fixed and committed to the CVS. But looking
at the bug reports ther
> Please take a look at the script below.
> If i want to show an image it doesnt work if it's under an if statement.
> Why in this case?
>
> $feedb=0;
> if($feedb==0){ echo "";}
> echo "";
> ?>
> How can i solve this problem?
By spelling src correctly.
-Rasmus
--
Hello,
I've built a function that receives an array as an argument to create an
HTML drop-down list, but when I try to print the list this is all I got:
Array[1]
Array[1]
This is my code:
---
Function TextList($sName, $aOptions)
{
$nCount = Count($
Hello,
I've built a function that receives an array as an argument to create an
HTML drop-down list, but when I try to print the list this is all I got:
Array[1]
Array[1]
This is my code:
---
Function TextList($sName, $aOptions)
{
$nCount = Count($
You can't put $a[][] inside a qouted string like that. Either use
${a[][]} or put it outside like this:
Print(" ".$aOptions[1][1]."\n");
-Rasmus
On Thu, 14 Mar 2002, Mauricio Cuenca wrote:
> Hello,
>
> I've built a function that receives an array as an argument to create an
> HTML drop-do
Hello,
I've been playing with this since lastnight. I have a string of
text...Example:
"This is a test string of test, please go to http://www.google.com now."
I need something that will catch the "http://www.google.com"; part, and make
into a link instead of just plain text. Does anyone know
Hi,
I'm having trouble supporting Internet Explorer 5.5 and earlier versions
in a PHP download script. People are reporting that the file comes out
as 'download.htm'.
Here is the code in my download.php:
$len = filesize($file);
header("Content-type: application
Here's a function that was sent to me in response to me needing the exact
same thing:
function pb_t2h_URLMarkup ($Text, $StyleClass = '', $Target = '')
{
if ($StyleClass != '')
$ClassS = " class='$StyleClass'";
else
$ClassS = "";
if
I am trying to post to another server without a form. The input is from a
form on my server. I log the entry in MySQL and then pass the input to this
function to open the connection and return a query result.
The post to the other server requires authentication in the form of USERID
and PASSWORD.
Please CC me, I'm on digest
---
Has anyone looked at what the browsers send when they request stuff
like:
images
flash
Real Audio
etc
Do they send the cookies/post/get vars from the previous page,
the requesting URI, or anything but the re
Rick,
I agree. Row ids should be for internal database use. SQL frees
us from needing them.
Tyler, what order do you want these records returned in? That is what
goes into the ORDER BY clause. If, for example, it is alphabetical order
of NAME then use ORDER BY NAME. If it is the order in whi
I'm working on a app that uses the header("Location") is the middle of
the file, but since I'm using output buffering it shouldn't matter. The
application works fine in Mozilla, Konqueror, and IE, but not in
Netscape 4 or 6.
I don't get the error that the "headers have already been written"
erro
Jeff,
I just had this problem!
Using $PHP_SELF did not work with Netscape 4.7 for some reason. I was
using it in form submissions and kept getting the error 'Method Not
Allowed'. My fix was simple, I just hard coded the action url since.
If you really need $PHP_SELF, I don't know what the fix
(Sorry if this is a duplicate post; I sent it through the news server but
began to think that might not be forwarding posts to the list)
For some reason, on just one server, data from forms posted with
ENCTYPE="multipart/form-data" never makes it to the PHP script.
We use this extremely simple t
For some reason, on just one server, data from forms posted with
ENCTYPE="multipart/form-data" never makes it to the PHP script.
We use this extremely simple test script:
And on this one server, no output shows unless the first tag is
commented and the second uncommented. On all other
My question is can event handlers on form objects trigger PHP code?
Or even an "onsubmit" event handler on forms?
If something like this is possible, could any of you tell me how? I've
tried, and tried. I've used PHP tags inside the event handler
But the result is that the event handler is
1 - 100 of 176 matches
Mail list logo