I have a PHP page that has
require_once(genMyOverlay.js.php);
.
.
.
echo body;
echo script language=\JavaScript\doit(\mydiv\);/scriptbr;
echo /body;
genMyOverlay.js.php contains: createDiv() (see below) that creates a DIV
ID=mydiv and sets it up to overlay a portion of the wbe page and
On Mon, 2010-02-22 at 09:09 -0600, Stan wrote:
I have a PHP page that has
require_once(genMyOverlay.js.php);
.
.
.
echo body;
echo script language=\JavaScript\doit(\mydiv\);/scriptbr;
echo /body;
genMyOverlay.js.php contains: createDiv() (see below) that creates a DIV
ID=mydiv
At 3:15 PM + 2/22/10, Ashley Sheridan wrote:
Also, your script tags need a type attribute:
script language=javascript type=text/javascript
Actually, you only need this:
script type=text/javascript
The language attribute will throw an error in validation.
Cheers,
tedd
--
---
On Mon, 2010-02-22 at 12:33 -0500, tedd wrote:
At 3:15 PM + 2/22/10, Ashley Sheridan wrote:
Also, your script tags need a type attribute:
script language=javascript type=text/javascript
Actually, you only need this:
script type=text/javascript
The language attribute will throw
At 5:32 PM + 2/22/10, Ashley Sheridan wrote:
On Mon, 2010-02-22 at 12:33 -0500, tedd wrote:
At 3:15 PM + 2/22/10, Ashley Sheridan wrote:
Also, your script tags need a type attribute:
script language=javascript type=text/javascript
Actually, you only need this:
script
Hi,
I would like some help with an encoding problem, please. I would like to encode
some text (a news entry entered via a form, to be exact) into UTF-8 and then
save it in an XML file for persistent storage. My problem is, some of the users
are Japanese and would like to enter Japanese multi-byte
Having a very frustrating problem and I can't seem to figure out why
it's happening.
1. As of last week, all of our applications have started to work
intermittingly. The codebase has not changed.
2. Sometimes the application will display, sometimes it won't. The
browsers loading progress bar
[snip]
Thanks guys for any help troubleshooting this.
[/snip]
Is the drive full? Enough memory? An unusual number of connections? Any
other applications added to the system? what do you see when you run
top? Have you looked at a MySQL process list?
--
PHP General Mailing List
I would check what hitting the machine from the network. At the most
basic level, just try netstat 1 on the command line. Also try iostat
1 to see what load the machine has. It may not be PHP or Apache but
something else, maybe a denial of service attack.
On Jan 13, 2005, at 10:02 PM, Brent
permissions (just like you have to in Unix).
Jason
-Original Message-
From: Elliot J. Balanza [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 28, 2004 8:03 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Help please.
Hi, I'm running the same class in two different sites on the same sever
hi!
i have a class called DB that i include in a page as include(classes/DB.php);
however when i run this page i get an error saying
Warning: main(/home/bikkar/public_html/ajay/classes/DB.php): failed to open
stream: No such file or directory in /home/bikkar/public_html/ajay/index.php
on line
Hello ajay,
Sunday, February 22, 2004, 7:57:21 PM, you wrote:
a hi!
a i have a class called DB that i include in a page as include(classes/DB.php);
a however when i run this page i get an error saying
a Warning: main(/home/bikkar/public_html/ajay/classes/DB.php): failed to open
a stream: No such
hi!
the code is
?php
include(classes/DB.php);
include(classes/PageMaker.php);
$page = new PageMaker(main.css, USYD Basketball);
$page-print_header();
printf(body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0);
Hello ajay,
Sunday, February 22, 2004, 9:05:52 PM, you wrote:
a hi!
a the code is
a ?php
a include(classes/DB.php);
a include(classes/PageMaker.php);
hmm... may be you need to add '/' in front of classess
try this one:
include(dirname(__FILE__)./classes/DB.php);
hope it will
this is my first post, so please bear with me.
I'm developing a Mayan Oracle based on PHP and MySQL. the program and
database work perfectly, and do all I want them to. however, the thing
has a graphical interface that I built using Macromedia Fireworks and
Dreamweaver, with some images chaning
look at the html code, this is no problem related to php, but the HTML.
Hope that helps
Nitin
- Original Message -
From: 3mip1s4la/Nath/Pisanty [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, February 21, 2004 7:24 AM
Subject: [PHP] HELP PLEASE!
this is my first post, so
Hi,
I have an situation on my hands I have a form that I am stuck using PHP for
thanks to my friends choice of hosting company, I have no idea on how to
setup a form in PHP other than HTML or in Flash, I need some one any one
to give me some advice on this Posted layout it seems to work but not
Hello Patrick. Where to start, where to start
Patrick wrote:
Hi,
I have an situation on my hands I have a form that I am stuck using PHP for
thanks to my friends choice of hosting company, I have no idea on how to
setup a form in PHP other than HTML or in Flash, I need some one any one
to
John Nichel wrote:
Hello Patrick. Where to start, where to start
Patrick wrote:
Hi,
I have an situation on my hands I have a form that I am stuck using
PHP for
thanks to my friends choice of hosting company, I have no idea on how to
setup a form in PHP other than HTML or in Flash, I need
Hello Patrick,
I have good news and even better news for you. The good news is that you can make all
your form-related woes disappear in less than a day. The even better news is that
everything you need to know in order to solve your problem can be found in one
convenient location:
Man, you really are a card Erik.
Fellow manual reader,
Jas
[EMAIL PROTECTED] wrote:
Hello Patrick,
I have good news and even better news for you. The good news is that you can make all
your form-related woes disappear in less than a day. The even better news is that
everything you need to
On Monday 11 August 2003 18:23, [EMAIL PROTECTED] wrote:
I am currently learning php and Mysql a scripting language and DB i just
feel in love with. I am currently having problem in opening file to put
data collected from clients when the purchase from an online shop. The
scripts is as
Hi Folks,
I am currently learning php and Mysql a scripting language and DB i just feel
in love with. I am currently having problem in opening file to put data
collected from clients when the purchase from an online shop. The scripts is as
follows.
where i am having problem is this // open
Hi php-general-digest,
I have subscribed to news://news.php.net/php.general. But when I post
something (i'm using Outlook Express), it seems that the post is sent; but
in fact it isn't and so I don't find my post(s) on the newsgroup.
Help please!
Nadim Attari
AGES AND TRYING TO FIND A GOOD RSS CREATOR , PLEASE HELP, NOTE THAT I TRIED
http://www.phpclasses.org . PHP Classes Repository
BUT I DIDN'T MANAGE
PLEASE HELP ME
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, 8 Jun 2003 13:31:25 +0300, you wrote:
AGES AND TRYING TO FIND A GOOD RSS CREATOR , PLEASE HELP, NOTE THAT I TRIED
http://www.phpclasses.org . PHP Classes Repository
BUT I DIDN'T MANAGE
PLEASE HELP ME
A simple RSS document is pretty easy to generate. It's just text... even
here is a real example:
$fp = fopen (http://store.el.net/index.html;, r);
while (!feof($fp)) {
echo fgets ($fp,4096);
}
this works fine...
if you try it with https you'll get an error - file not found from php
if you try the same url with https in the any browser you wont have any
can anyone give me some good advise on how abouts I should go about
maintaining a newspaper website.
here is what is currently in place and how i want it to be managed
right now the newspapers are published in a quark file from that file
pictures have to be placed in photoshop and resized ,
-
From: justin brenton [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 7:24 AM
To: [EMAIL PROTECTED]
Subject: [PHP] HELP PLEASE ! Need PHP Advice !!!
can anyone give me some good advise on how abouts I should go about
maintaining a newspaper website.
here is what is currently in place
Right, well there's a few issues here.
1.
You're asking if there's a way to parse a QXD file so retrieve the text from
it. I doubt this can be done. I had a quick google for it, to no luck. I
also bothered to open up a Quark 3.32 file in my text editor, to check out
the source. It looks
Hello all,
I am having problems with a script. The script works great on one of my
sights, however, when I transferred it to another site, it does not
function. I contacted my hosting company (both sites are on the same
server), they told me that I needed to check the script and that it
Hello all,
I am having problems with a script. The script works great on one of my
sights, however, when I transferred it to another site, it does not
function. I contacted my hosting company (both sites are on the same
server), they told me that I needed to check the script and that it
There is no need to post this thrice.
Anyway. What went wrong? Did you get an error message? Are both sites on
the same machine?
At 18:40 25-2-03, you wrote:
Hello all,
I am having problems with a script. The script works great on one of my
sights, however, when I transferred it to
://www.nypalet.com/Mail.html .
I do not know jack about PDP, I got the script from www.flashkit.com.
Thanks so much for the response.
Mark J
- Original Message -
From: Chris Hayes [EMAIL PROTECTED]
To: bionicegg [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 1:07 PM
Subject: Re: [PHP] help please
Do you need an answer for each of the times that you posted it?
1) Posting code is good, however telling us it doesn't work is no
good. What are the error messages, if any? Why is it not working, ie
what did you expect it to do?
2) What version of php on the old site as compared to the new
to send message with.
Robbert van Andel
-Original Message-
From: bionicegg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 9:41 AM
To: [EMAIL PROTECTED]
Subject: [PHP] help please
Hello all,
I am having problems with a script. The script works great on one of my
sights
, 2003 1:20 PM
Subject: Re: [PHP] help please
Do you need an answer for each of the times that you posted it?
1) Posting code is good, however telling us it doesn't work is no
good. What are the error messages, if any? Why is it not working, ie
what did you expect it to do?
2) What version
Hi All,
i am new to qmail and linux so bear with me.first of all i would like to clearly state
my situation here.we have to
servers linux+windows.we have qmail installed on linux.wesite is hosted on windows.now
i want to create user from my
webbased signin form.(which is on win2k).how can i do
Hi,
Sunday, February 23, 2003, 10:43:36 PM, you wrote:
HI Hi All,
HI i am new to qmail and linux so bear with me.first of all i would like to clearly
state my situation here.we have to
HI servers linux+windows.we have qmail installed on linux.wesite is hosted on
windows.now i want to create
Here is a brief description of what I want to do. I want to use PHP to grab
a list of numbers in one file. Check it against a bigger file and strip the
ones that match out of the bigger file, into a holding file.
so here is what it might look like.
file1.txt
456789
456790
456791
456792
in the www.php.net manual.
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 22 January 2003 11:22 PM
To: [EMAIL PROTECTED]
Subject: [PHP] HELP please quickly
Here
In that case, I don't know of any PHP classes to help you.
- Original Message -
From: Didier McGillis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 22, 2003 7:53 AM
Subject: Re: [PHP] HELP please quickly
No. The numbers are coming from two text files. The first text
],
[EMAIL PROTECTED]
Subject: RE: [PHP] HELP please quickly
Date: Wed, 22 Jan 2003 23:26:10 +1000
You first file just requires loading into an array and you can use
unique array functions to remove
duplicates etc..
The other files simply load into an array and use preg to strip out what
you want
]
Subject: Re: [PHP] HELP please quickly
In that case, I don't know of any PHP classes to help you.
- Original Message -
From: Didier McGillis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 22, 2003 7:53 AM
Subject: Re: [PHP] HELP please quickly
No. The numbers are coming
it into an array
which one is better?
From: Timothy Hitchens \(HiTCHO\) [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: 'Didier McGillis' [EMAIL PROTECTED],
[EMAIL PROTECTED]
Subject: RE: [PHP] HELP please quickly
Date: Wed, 22 Jan 2003 23:26:10 +1000
You first file just requires
. The
second file is 7.1MB and seems to fail telling me Fatal error: Allowed
memory size of 8388608 bytes exhausted (tried to allocate 81 bytes)
So it seems to be on hurrdle at a time.
From: Clarkson, Nick [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: [PHP] HELP please quickly
Date: Wed, 22
]
To: [EMAIL PROTECTED]
Subject: RE: [PHP] HELP please quickly
Date: Wed, 22 Jan 2003 14:15:32 -
I'm pretty new to PHP so I can't help you with the code per se, but how
about as an outline;
Open the first file and read values into an array.
Open the 2nd file and read in the first line.
Compare
(
{ fwrite ($results, $buffer); }
}
}
?
-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2003 14:33
To: [EMAIL PROTECTED]
Subject: RE: [PHP] HELP please quickly
Cool. Thanks for the information. I try and organize my thoughts like
it is placed back into the code.
Any thoughts.
From: Clarkson, Nick [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: [PHP] HELP please quickly
Date: Wed, 22 Jan 2003 15:21:32 -
I managed this bit of code, but I doubt it does exactly what you want, but
it's a start. And just to add to it I
Are the numbers coming from a mysql database? If so, mysql can handle this chore.
- Original Message -
From: Didier McGillis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 22, 2003 7:21 AM
Subject: [PHP] HELP please quickly
Here is a brief description of what I want
From: SpiderWebb [EMAIL PROTECTED]
Subject: Help nedded
Date: 09 December 2002 16:46
I dont know if this is possible in PHP (Newbie) im working on a project
where each product has 3 diffierent prices depending on the amount sold so
say for example 1- 100 price A 101-299 price B and above 300
SpiderWebb wrote:
From: SpiderWebb [EMAIL PROTECTED]
Subject: Help nedded
Date: 09 December 2002 16:46
I dont know if this is possible in PHP (Newbie) im working on a project
where each product has 3 diffierent prices depending on the amount sold so
say for example 1- 100 price A 101-299 price B
Forget my previous advice. I'd misunderstood it.
BABA Yoshihiko wrote:
This seems a matter of database design. For simple solution, use COUNT
in SQL. But having a record for each item would probably exceed the
limit of either harddisc or database one day.
--
BABA Yoshihiko
--
PHP
I am going through the introductory tutorial on http://www.php.net/ and am
stuck on this page:
http://www.php.net/manual/en/tutorial.forms.php
I have been able to get all of the examples up to this point to work.
The form is simple: it asks for a text name, a text age and has a submit
button.
Try $_POST['name'] and $_POST['age']
Try $HTTP_POST_VARS['name'] and $HTTP_POST_VARS['age']
- Original Message -
From: David Scott [EMAIL PROTECTED]
To:
Sent: Tuesday, December 10, 2002 10:56 AM
Subject: [PHP] Help please: Unable to get $_POST[variable]; to work in a form.
I am going
Hi,
I have been trying for most of the day to pull a variable from a db.
Finally managed that. Now I need to pass the result of a function to
another function.
How do you do this?
I assume the following if called in another page can be used?
function get_shipping($shipping)
{
$conn =
On Friday 01 November 2002 22:04, Steve Jackson wrote:
Please use a descriptive subject!
I have called it in another page by doing
get_shipping($shipping)
And then
Echo test $shipping;
$returned_variable = get_shipping($shipping);
echo $returned_variable;
Or you can use the returned
Hello;
I have a Mandrake 8.2 machine that I'm trying to get a php webmail
application running on. Apache is running, php is installed, and when I
attempt to view/use index.php my browser offers to download index.php
for me. I have tried 4 different browsers on three different machines.
I have
Hello Again Everyone,
Thank you to those of you who sent me suggestions. Unfortunately none so
far have solved the problem. I think I need to give you more
information.
I am running a Mandrake 8.3 linux box. Apache 1.3.23. PHP 4.2.1-8mdk.
Installed from RPM's. PHP shows in my active list of
This means that you do not have the PHP module loaded properly. Do you
have a LoadModule line for PHP in your httpd.conf file?
-Rasmus
On 15 Aug 2002, paul wrote:
Hello Again Everyone,
Thank you to those of you who sent me suggestions. Unfortunately none so
far have solved the problem.
Hi,
I am trying to run a sample program. It connects to a
postgres database verifies user name and password and
if correct, displays the login screen.
But in that program wherever there there are
setcookies() or header() functions, I get following
error
Warning: Cannot add header information -
Hi,
I am trying to run a sample program. It connects to a
postgres database verifies user name and password and
if correct, displays the login screen.
But in that program wherever there there are
setcookies() or header() functions, I get following
error
Warning: Cannot add header information -
you cannot print or echo anything back to the browser before running the
header() function...
- Original Message -
From: Varsha Agarwal [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 29, 2002 4:00 PM
Subject: [PHP] Help Please
Hi,
I am trying to run a sample program
Hi,
I am trying to run a sample program. It connects to a
postgres database verifies user name and password and
if correct, displays the login screen.
But in that program wherever there there are
setcookies() or header() functions, I get following
error
Warning: Cannot add header
You can't send headers after the page has left the server. If you try to write to the
HTML file in ANY way, even a hard return in your code, then you are telling the server
that the headers have been completed and should be sent to the client (browser).
Martin Clifford
Homepage:
: Monday, July 29, 2002 4:00 PM
Subject: [PHP] Help Please
Hi,
I am trying to run a sample program. It connects to a
postgres database verifies user name and password and
if correct, displays the login screen.
But in that program wherever there there are
setcookies() or header() functions, I get
Subject: [PHP] Help Please
Hi,
I am trying to run a sample program. It connects
to a
postgres database verifies user name and password
and
if correct, displays the login screen.
But in that program wherever there there are
setcookies() or header() functions, I get
following
error
-Original Message-
From: Varsha Agarwal [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 29, 2002 4:27 PM
To: Dennis Moore; [EMAIL PROTECTED]
Subject: Re: [PHP] Help Please
Hi,
I did not find any print or echo stetement in the
sample example before hearder or setcookie function
PROTECTED] wrote:
you cannot print or echo anything back to the
browser before running the
header() function...
- Original Message -
From: Varsha Agarwal [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 29, 2002 4:00 PM
Subject: [PHP] Help Please
Hi,
I am trying
Show us the first 6 lines of processing.php.
---John Holmes...
- Original Message -
From: Varsha Agarwal [EMAIL PROTECTED]
To: Dennis Moore [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 29, 2002 4:27 PM
Subject: Re: [PHP] Help Please
Hi,
I did not find any print or echo
i've written a simple script, which tests the session behaviour on the IIS,
since it didnt seem to work
the following script should increase the session-var $testVar and display it
but it always stays at the same value
can someone explain that? is that a bug?
also if i would increase
: [PHP] help please - strange session behaviour on IIS with php4.1.2
i've written a simple script, which tests the session behaviour on the IIS,
since it didnt seem to work
the following script should increase the session-var $testVar and display it
but it always stays at the same value
can
On Tuesday 02 April 2002 15:34, Stephen Phillips wrote:
Hi,
It sounds like you are experiencing a similar problem to one I had. It
seems there are some problems with setting cookies when using IIS, and as I
understand it one of the ways that sessions work is by storing the data in
a
I have the same problem, while I'm using Apache for web server / Win2k.
It seems that it depends on register_globals=On or Off.
When the register_globals=On, it works well.
But when the register_globals=Off I've got the same situation; session
doesn't work.
I guess this is a bug of
I run this setup on Win2k Advanced Server
talking to a Microsoft SQL 2000 Server, with sessions of both
cookie type and URL-SessionID server side based, with absolutely
no problems.
Adam Voigt
[EMAIL PROTECTED]
On Wed, 03 Apr 2002 04:37:07 +0900, Hiroshi Ayukawa [EMAIL PROTECTED] wrote:
I have
At 27.03.2002 21:20, you wrote:
Even if I didn´t read your code exactly, the fault is
the do while loop
replace it with something like this
while ($row = mysql_fetch_array($result))
{
for($i=0,$i count($row);$i++)
{ // add something to make it fancy like a table or so
: Thursday, March 28, 2002 12:33 AM
Subject: Re: [PHP] HELP PLEASE!
At 27.03.2002 21:20, you wrote:
Even if I didn´t read your code exactly, the fault is
the do while loop
replace it with something like this
while ($row = mysql_fetch_array($result))
{
for($i=0,$i count($row);$i
Hello,
My problem is I have a form that submits it info to a mysql table, well then I
have a page that calls it from the mysql table and displays whatever is in the
mysql table. So, what script do I use to make it display multiple entrys?? Here
is the code:
, old, I know)
-Original Message-
From: Scott Brown [mailto:[EMAIL PROTECTED]]
Sent: March 1, 2002 9:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] help please -- error compiling php 4.1.2
(4.0.6 compiles
fine)
I'm trying to deal with the recent security advisory... but
I
I'm trying to deal with the recent security advisory... but I cant get
4.1.2 to compile on my system
I'm getting :
gcc -I. -I/home/webmaster/new_build/php-4.1.2/ext/standard -I/home/webmaster
/new_build/php-4.1.2/main -I/home/webmaster/new_build/ph
p-4.1.2
Im trying to control the way a new window opens when submiting
a form.
When I do it from a regular button, I use:
p align=center a href="#pv"
>rollbars=0,width=300,height=340,top=150,left=150');return
true
and it works, it opens the new window, but Im
not transferring any values
Since you're assuming Javascript anyway, you can use a input
type=button instead of input type=submit and use the same
javascript code as for the a href, just that you append a
document.forms[0].submit().
HTH
Bogdan
webmaster mbtradingco wrote:
I'm trying to contro l the way a new window
the enviar, and see what I
need the submit button to do.
Thanks.
-Mensaje original-
De: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
Enviado el: Sábado, 16 de Febrero de 2002 20:43
Para: webmaster mbtradingco
CC: [EMAIL PROTECTED]
Asunto: Re: [PHP] Help please
Since you're assuming
the enviar, and see what I
need the submit button to do.
Thanks.
-Mensaje original-
De: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
Enviado el: Sábado, 16 de Febrero de 2002 20:43
Para: webmaster mbtradingco
CC: [EMAIL PROTECTED]
Asunto: Re: [PHP] Help please
Since you're assuming
.
-Mensaje original-
De: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
Enviado el: Sábado, 16 de Febrero de 2002 20:43
Para: webmaster mbtradingco
CC: [EMAIL PROTECTED]
Asunto: Re: [PHP] Help please
Since you're assuming Javascript anyway, you can use a input
type=button instead
window an works. If I add a
_blank target it also works, but the new window never works.
Thanks.
-Mensaje original-
De: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
Enviado el: Sábado, 16 de Febrero de 2002 21:51
Para: webmaster mbtradingco
CC: [EMAIL PROTECTED]
Asunto: Re: [PHP] Help please
Can anyone help me with this...
?
if ($HTTP_POST_VARS[action] == 1)
{
checklogin($HTTP_POST_VARS[user_name], $HTTP_POST_VARS[password]);
exit;
}
function checklogin($user_name, $password)
{
login($user_name, $password);
if ($sid != -1)
{
i was now trying all the examples from the docs but no success yet
can someone please help?
i want to convert an image to another format i was fread-ing the one
image into
$image1
so they are binary in there
and i want to pass that to imagemagick's convert, using:
convert gif:-
Hi There,
I have a query whenever I try to insert something into a mysql table. This is
the code I am using:
?
$host1 = gethostbyaddr($REMOTE_ADDR);
$date = date(Y-m-d h:i:s);
$link = mysql_connect($host, $user, $passwd);
mysql_select_db($database, $link);
$sql = INSERT INTO vcstats VALUES('',
What if you single quotes like this:
'$REMOTE_ADDR'
???
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 27, 2001 3:20 PM
Subject: [PHP] HELP PLEASE!! Get query error when inserting into MySql
Hi There,
I have a query whenever I try to insert
check: http://www.php.net/manual/en/function.ini-set.php
- Original Message -
From: Valentin V. Petruchek [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Sent: Thursday, October 18, 2001 4:00 PM
Subject: [PHP] Help, please!
Hello, Professionals!
I've such problem: i need
Steve Werby [EMAIL PROTECTED] wrote in message
news:0c3701c14d18$3505c910$6401a8c0@workstation7...
[SNIPs]
http://www.tysonchandler.com/news_3.html (that's an underscore, not a
space).
Is it just me or is this site blazingly fast? Are you using some
cache-tricks or something? Or du you just
I have a text input field in my form. I need the user
to be able to enter something like: Hello, I need #
help. After which they click on a submit button. The
succeeding page then takes this text and tries to
display it and tries to store Hello, I need # help
in a varchar field in a mysql
Is there an environmental variable like in Active
Server Pages ( HTTP_REFERRER ) that tells you the page
you just came from.
Thanks.
__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--
PHP
yes...do this:
print HTTP_REFERER;
tyler
- Original Message -
From: John Holcomb [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 03, 2001 4:17 PM
Subject: [PHP] Help Please
Is there an environmental variable like in Active
Server Pages ( HTTP_REFERRER ) that tells you
/
-
-Original Message-
From: John Holcomb [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 11:17 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Help Please
Is there an environmental variable like in Active
Server Pages ( HTTP_REFERRER ) that tells you the page
you just came from.
Thanks
Sorryyou'll need a '$' before the HTTP_REFERER part
- Original Message -
From: Tyler Longren [EMAIL PROTECTED]
To: John Holcomb [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, July 03, 2001 4:23 PM
Subject: Re: [PHP] Help Please
yes...do this:
print HTTP_REFERER;
tyler
on 7/3/01 9:48 AM, Martín Marqués at [EMAIL PROTECTED] wrote:
On Mié 04 Jul 2001 00:43, you wrote:
Sorryyou'll need a '$' before the HTTP_REFERER part
Even better! Execute phpinfo() and see all the http variables available!
Or var_dump($GLOBALS);
yes, but since you won't be
on 7/3/01 9:56 AM, Martín Marqués at [EMAIL PROTECTED] wrote:
Even better! Execute phpinfo() and see all the http variables available!
Or var_dump($GLOBALS);
yes, but since you won't be 'referred' from anywhere, you won't see
$HTTP_REFERRER :)
ouch! You're totally right! :-)
P.D.:
This code works fine on Win NT/IIS with Netscape but not with IE4 :
cookie is not set ?
?php
include include.php;
if (authUser($username,$userpass)) {
// do not work with IIS
//$exp = gmdate (M d Y H:i:s, time()-3600);
1 - 100 of 112 matches
Mail list logo