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
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
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.html);
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 paid or
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't
Hi friend,
I am getting null values (0) for the following program.
what will be the problem?
Any help greatly appreciable!!
example.php
===
?php
// Connect to MySQL
$connection = mysql_connect( 'localhost',
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
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
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 that
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
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 date in
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.(AB)
2. I have X to Y and I want to check this range should not match with A
to B.
How can I check this?
Ex:
1) A=4 B=8
Totally 4 cases
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
-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.(AB)
2. I have X to Y and I want to check this range
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 2002
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
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.
-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 select
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
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
directories?
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
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 tell me is
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 :
htmlheadLINK
REL="stylesheet" HREF="mmenu.css"SCRIPT LANGUAGE="javascript"
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
Hello!
I have a trouble :(
When I try this:
--[index.php]--
?php
function f($action)
{
switch($action){
case 'one': include_once('M/one.php'); break;
}
}
f('one');
?
--
--[M/one.php]--
?php
print pre\n;
print_r(get_defined_vars());
print /pre\n;
?
--
At
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
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() {
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 *
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
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
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:
INPUT type=text name=subject1
is passed to the following page as: $subject1
-Original Message-
From: PHPList [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13,
: 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,
:
index.html
FORM method=post action=adduser.php
INPUT type=text name=pwBR
INPUT type=text name=pw2BR
INPUT type=submit name=submit valuye=submit
/FORM
adduser.php -
?php
...write $pw and $pw2 to database
?
did you try to do this yourself yet? what were the results?
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 install something
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
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
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
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:
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 uses
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
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 the element with
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] = ...;
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 AM
To:
Ok, how about a code snipet since I seem to be blind this morning. The
select box code:
select multiple=yes name=groups id=av
?
$sql = select groupID,groupName from groups order by groupName;
$result = mssql_query($sql,$connection);
while($row = mssql_fetch_array($result)){
$groupID =
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]]
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 using
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:
select multiple=yes name=groups id=av
?
$sql = select groupID,groupName from groups order by groupName;
...
Any eye openers?
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 possibility to
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:
select multiple=yes name=groups[] id=av
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
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 input type(s) 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 textarea on
stripslahses($variable)
-Original Message-
From: Vlad Kulchitski [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 9:26 AM
To: [EMAIL PROTECTED]
Subject: [PHP] textarea/textarea
Hi,
I have the following probably very simple problem.
Basically what I need to do is to collect
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] textarea/textarea
stripslahses($variable)
-Original Message-
From: Vlad Kulchitski
On Thursday, March 14, 2002, at 10:26 AM, Vlad Kulchitski wrote:
The only problem I have is I need to display textarea on
step 3, and once again the same textarea 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
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
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:
the best you can do is:
?php
$a = this has php in the string;
if( ! ereg(php, $a ) )
{ print a: not in string; }
$a = this has in the string;
if( ! ereg(php, $a ) )
{ print b: not in string; }
?
-Original Message-
From: Ando Saabas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14,
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 img scr='somepic.jpg';}
echo img src='somepic.jpg';
?
How can i solve this problem?
thank you!
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((script(.*).*/script), , $file);
Now this works fine, until theres a webpage like:
script somethingscript data./script
Some webpage data
script
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
Is it legal for an if...else statement to span PHP code blocks? Here's
an example:
?
$a = 0;
if ($a 5) {
$b = 50;
$c=500;
// Take a break from php and put in some HTML
?
HTML
HEAD/HEAD
BODYMORE HTML CODE HERE/BODY
/HTML
?
// Now back to the PHP code
$d = 250;
}
else {
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 font color=\red\;
if you paste the code that's causing the
problem, we can take a look.
Vlad
-Original Message-
On Thu, 14 Mar 2002, Brad Harriger wrote:
!-- snip --
?
// 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 not
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.
I use
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 everywhere
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 ÂÅÒÅÚÎÑ
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);
echo
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
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
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 to PHP
Look here for more info about file upload problems with Opera:
http://bugs.php.net/search.php?cmd=displaysearch_for=operax=0y=0
Andrey
- Original Message -
From: Vlad Kulchitski [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 14, 2002 5:57 PM
Subject: [PHP] Opera broswer
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
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 there have
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 img scr='somepic.jpg';}
echo img src='somepic.jpg';
?
How can i solve this problem?
By
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:
select name=my_list
option value=Array[0]Array[1]
option value=Array[0]Array[1]
/select
This is my code:
---
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:
select name=my_list
option value=Array[0]Array[1]
option value=Array[0]Array[1]
/select
This is my code:
---
You can't put $a[][] inside a qouted string like that. Either use
${a[][]} or put it outside like this:
Print( option value=\.$aOptions[1][0].\.$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
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 how
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:
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
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
Rick,
I agree. opinionRow ids should be for internal database use. SQL frees
us from needing them. /opinion
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
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
error,
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
(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
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:
form method=post enctype=multipart/form-data action=?= $PHP_SELF ?
!--form method=post action=?= $PHP_SELF ?--
input
My question is can event handlers on form objects trigger PHP code?
input type=submit name=submit value=Submit Form onclick='PHP CODE
HERE'
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
Sorry... The error I get on members.php page is
if ( == paid) is printed if 'paid' is selected
or if ($paid == no) is printed if 'not paid' is selected
from this piece of code
print trtd class=LabelColumnPaid:/tdtd class=TextColumnselect
name='paid' value='$row-paid'
option
1 - 100 of 175 matches
Mail list logo