Works! Great! Nobody (even me!) can not understand user passwords! Thanx!
Valentin Petruchek (aki Zliy Pes)
*** Cut the beginning ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: Michael Sims [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Tuesday, February
Hello,
I have written code to upload files from the browser itself.But only
specified user can upload files for specific directory.That one also i
have done.I have given permission to upload files to a directory.If there
are any subdirectory how will write the code to upload files in the
Hi all,
Just wondering if anyone out there's worked out how
to send emails through an SMTP server using PHP.
Cheers,
Liam
We use the header() function to display a html page like this:
header(Location: $mail_error_page?CODE=$CODE);
But instead of showing the variable $CODE we would like to hide it. Just like
when you POST variables to a HTML-page. Is there any way to do this?
--
Regards,
Léon Hoeneveld
The
Whoops, my bad!
If there's anyone out there that needs to use SMTP:
http://phpclasses.upperdesign.com/browse.html/package/14
Gotta love it when you answer your own question ;-)
- Original Message -
From: Liam MacKenzie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February
Is there any function to give write permission to one particular user for
entire directory using php..
Regards,
Uma
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
We had a discussion this morning in our office on the differences between cookie and
session.
I just would like to ask the body if your could enlighten me more on this.
And another thing, can cookie be a carrier of some virus across the internet?
Thanks,
Ryan
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
Well, I did this:
[mail function]
SMTP=mindspring.com
sendmail_form=[EMAIL PROTECTED]
...rest I left unchanged...
Still doesn't work. :(
BTW I'm using Windows at the moment to develop.
That SMTP value looks a
Hi,
I'm trying to build php 4.1.1 from the FreeBSD ports colloection with
vp[opmail support. I've tried tinkering with the Makefile but with no
success. Can anyone give me a few pointers?
Mikle Crosland
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi dublin php people
here's a 1 month contract i can't do.
PHP /MySQL Vacancy
Many thanks for registering your details with us during this last 12
months . I have outlined below details of an urgent PHP/MySQL contract which
you may be interested in.
If you feel the role is suitable please
How to delete from text documents mark end of line.
Example: In file I have some formatted text document with paragraphs, but i
need convert this document to new document without paragraphs (all text
document in one paragraph).
Thanks for yours help.
roman
--
PHP General Mailing
Hi there,
I would like to find out the changes on content after a members last login.
The format of the date stored in the member db is e.g.: Feb 13, 2002
The format of e.g pictures uploaded is:
2000-02-13
How can I search for pictures which are uploaded since the members last
login. Is ist
Hello:
When I installed PHP as Apache module with
'--with-gmp' everything was OK. But I got error when
installing PHP as CGI with the same configuration as I
used to install PHP as Apache module. The error
message is:
/bin/sh /data/software/php/php-4.1.1/libtool --silent
--mode=link gcc -I.
Just a quick question,
is there a way to echo in your php code lines of a file that you specify.
i.e. you want to output lines 1,4,7 of a certain text file
Thanks
John
_
Join the worlds largest e-mail service with MSN Hotmail.
just put the lines in an array, each array element contains a line... and
then just print the specified array elements...
Edward
- Original Message -
From: John Gurley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 13, 2002 12:55 PM
Subject: [PHP] printing files
Hy,
John Gurley wrote:
Just a quick question,
is there a way to echo in your php code lines of a file that you specify.
i.e. you want to output lines 1,4,7 of a certain text file
use the fopen and fread functions, to read lines from a file, only put
the wanted lines into a string and
Hi
Use the str_replace function like this :
$myText = str_replace (\n, , $myText);
This will remove all line breaks from $myText
http://www.php.net/manual/en/function.str-replace.php
Regards
Girish
--
www.girishnath.co.uk
- Original Message -
From: Roman Duriancik [EMAIL
Hej!
I have a question. I send mail from a php-script with the mail()-function. However the
smtp server I use has a wrong time set. Can I set the sent-time through the headers so
I take my web-servers time? and how then?
Thankfull for help.
/Kalle
Hi
You may be able to convert the member db date to a unix timestamp using
strtotime()
http://www.php.net/manual/en/function.strtotime.php
Then use one of the other functions at :
http://www.php.net/manual/en/ref.datetime.php
to convert the pictures db date also to unix timestamp, then
you could just:
exec(chown user.group directory);
That is, if you're on a unix box of some type.
Tyler
- Original Message -
From: Uma Shankari T. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 13, 2002 3:29 AM
Subject: [PHP] php
Is there any function to give
The only way that works fine for me is to read a file char by char. When you
read the \n character add the readen chars in array's position.
Here is an example
$fp = fopen (myfile,r);
$txtarr = array();// array to store each line of your file
$linenum = 1; // just a counter
Liam,
Check out http://phpguru.org/
=dn
- Original Message -
From: Liam MacKenzie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 13 February 2002 09:21
Subject: Re: [PHP] SMTP Mail
Whoops, my bad!
If there's anyone out there that needs to use SMTP:
The answer that I have come to understand is that sessions are more secure
than cookies in as that the information is stored on the server side instead
of the client side. This way it is harder to steal, alter or intercept.
The other reason is that users can even reject cookies, thus disallowing
Short answer: NO.
Because your method is the same as the GET method
Use cookies or sessions to pass hidden variable values
-Original Message-
From: L. Hoeneveld [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 3:05 AM
To: [EMAIL PROTECTED]
Subject: [PHP] How to POST a
$data = file ($certain_file);
echo {$data[0]}\n;
echo {$data[3]}\n;
echo {$data[7]}\n;
Valentin Petruchek (aki Zliy Pes)
*** Cut the beginning ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: John Gurley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
$data = file ($certain_file);
echo {$data[0]}\n;
echo {$data[3]}\n;
echo {$data[7]}\n;
Valentin Petruchek (aki Zliy Pes)
*** Cut the beginning ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: John Gurley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
Ok the thing is Im getting the information from a mysql db and it is
being fetched by a Flash app and then it is used to
print out the info in a fancy way.
I am trying to url encode special Icelandic charaters such as (þ ASCII
0222 or the Latin Letter Thorn) if you are able to see it but
Ok, but i'm using sessions. My users log in the system, there is no anonymous
navigation. So i was thinking something about tracking the number of active sessions.
I don't know how to do that. ¿Any ideas?.
Thanks
On 12/Feb/2002 09:22:40, Rick Emery wrote:
Store the user count to a database
I don't know if there is a method to tracke active sessions on the server,
other than the method I suggest. The problem I mention is that when a user
is in your web site (having logged in) but does not log-out. That is, the
user simply types in another web-site outside of your site or selects a
Can you pass a querystring along in header(Location: n)?
This is my code:
// get name of current page
$errorcode = basename($_SERVER['PHP_SELF']);
// send them to error page with previous page's name in $_GET array
header(Location: domain.com/errorpage.php?errorcode=$errorcode);
See what I'm
try:
header(Location:
domain.com/errorpage.php?errorcode=.urlencode($errorcode));
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 8:51 AM
To: PHP
Subject: [PHP] querystrings passed in header(Location: n) ?
Can you pass a querystring
Ok, thanks
On 13/Feb/2002 08:42:05, Rick Emery wrote:
I don't know if there is a method to tracke active sessions on the server,
other than the method I suggest. The problem I mention is that when a user
is in your web site (having logged in) but does not log-out. That is, the
user simply
Hi folks!
To end the discussion of how my posting has to be understood, I will
further explain my idea:
In Germany there's a web-space provider called 11 puretec
(http://www.puretec.de/). They offer a feature called @-domain:
Every time a user enters something like
http:[EMAIL
Hi, thanks for reading this novice question, I'd be grateful if someone
could email me and tell me if its possible to convert a string to an array
whithout using the split[] or explode[] function, as these aren't
appropriate for the task. I cant find any ino on php.net,
Thanks,
Bren
Okay - looks like you are using a weird character mapping.
Let's be clear about the names of encoding standards, so we don't get
confused. There is no such thing as ASCII 0222. ASCII characters are seven
bits wide. Period. Their range is hex 00 to 7F. Anything outside of that
range is, by
I have a log-in form on my site that registers a session for the username
and password entered, on my other pages i want it to include a file on the
page if the session contains a value, but if its not then i want it to
include a different file. All my attempts at this have failed, can anyone
Hi, thanks for reading this novice question, I'd be
grateful if someone could email me and tell me if
its possible to convert a string to an array whithout
using the split[] or explode[] function, as these aren't
appropriate for the task.
What are you trying to achieve?
Why isn't
I'll study on that. And in case you have an easy example for both suggested methods I
am willing to receive
that. We use the PHP-pages as external services and I wonder if a session-ID can be
used then. But maybe a
cookie is an idea...
In any case thanks and regards,
Léon Hoeneveld
Rick
Set the session.gc_probability to a positive value between 1 and 100. This
setting is the proportion of page requests on which the session file garbage
collection routine is launched, e.g., if you set it to 1, then on 1 out of
every 100 page requests the garbage collection routine will delete old
On Wednesday, February 13, 2002, at 09:53 AM, Rick Emery wrote:
try:
header(Location:
domain.com/errorpage.php?errorcode=.urlencode($errorcode));
I tried that, and it didn't work. But it does raise a question, which
I'll ask in a minute. I also tried doing
$errorcode =
something like:
setcookie(cookiename,cookievalue);
header( Location: $mail_error_page);
exit;
in mail_error_page:
?php
$mycookie = $HTTP_COOKIE_VARS['cookiename'];
?
The cookie will exist until the web browser is closed..
-Original Message-
From: L. Hoeneveld [mailto:[EMAIL
Hi
I am having some problems with the 'pack' function. Some values just
doesnt come out right. For instance, 0xa0 turns into x81a0.
Here is some code I used for testing. It packs the value, prints it.
Then unpacks the value and prints it
# This is wrong, but note that unpack gives the
What error did you receive? What was displayed? Please show your code; I
hope there was no line break as shown below. Unfortunately, my mail client
breaks lines after about 40 cchars.
I agree with you that it is handled as any string.
-Original Message-
From: Erik Price
show us the code you've tried so far.
-Original Message-
From: Richard O'Flaherty [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 9:18 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie - Session Help
I have a log-in form on my site that registers a session for the username
On Tuesday, February 12, 2002, at 09:10 PM, Miles Thompson wrote:
You're right Erik. Subtle, ain't it?
On the other hand, look how accepting browsers are of malformed HTML.
I'm inclined to think that today they see the HTML tag and 'think':
So, we assumed HTML anyway.
True! I
On Tuesday, February 12, 2002, at 09:33 PM, Jason Murray wrote:
I figure if I'm forced to go M$ I'd much rather use C# that
VBScript...
C# actually seems to be getting quite a lot of positive mentions
in the *nix world at the moment.
I'm far from a MS proponent, but basing .NET on XML
I installed and recompiled PHP on my Apache server with the GD libs as well
as zlib and png libs.
I have a test script from the GD web site, but it doesn't seem to work. The
test script is at:
http://www.spidermanzone.com/testgd2
And runs at:
http://www.spidermanzone.com/testgd2.php
The
If you really want, you can emulate a form POST by using the CURL library.
Please refer to the manual for more info on CURL.
bvr.
But instead of showing the variable $CODE we would like to hide it. Just
like
when you POST variables to a HTML-page. Is there any way to do this?
--
PHP
On Wednesday, February 13, 2002, at 04:04 AM, L. Hoeneveld wrote:
We use the header() function to display a html page like this:
header(Location: $mail_error_page?CODE=$CODE);
But instead of showing the variable $CODE we would like to hide it.
Just like
when you POST variables to a
Thank you to anyone looking into my question, but it is moot; seems the two
scripts I was given initially are just buggy. I found one that isn't, and
it works fine.
Anyone have any idea what would be a practical application of GD nowadays?
Doesn't seem to be practical to me.
-Mike
--
Hi,
Ok, considering the FULL PATH and the QUOTES thingy,
this is the code i'm applying :
?php
$db = mysql_connect(localhost,mydb,pwd);
mysql_select_db(mydb,$db);
$query = LOAD DATA INFILE 'D:\Apache
Group\Apache\htdocs\mjimm\php3\tabledata\fanlist.csv'
INTO fanlist_try FIELDS TERMINATED BY ','
On Wednesday, February 13, 2002, at 08:35 AM, Chris Skinner wrote:
The answer that I have come to understand is that sessions are more
secure
than cookies in as that the information is stored on the server side
instead
of the client side. This way it is harder to steal, alter or
DL Neil,
OK buddy, let me be more than frank with you.. i don't
think i've been quite as confused and having the
expression what the hell are you tryin 2 say on my
lips in a while, as i had when i read your mail.
Hmm.. i do hope u can help me though..
T. Edison jr.
Further to David's
Hi,
Lookin for about 50 Megs with php4, mySQL and the
works. Any economical hosts??
thanks.. t. edison jr
__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
--
PHP General Mailing List
Has fanlist_try table been created?
-Original Message-
From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 10:54 AM
To: Jason Murray
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Re-Importing .CSV file into Database
Hi,
Ok, considering the FULL PATH and
On Wednesday, February 13, 2002, at 10:19 AM, brendan conroy wrote:
Hi, thanks for reading this novice question, I'd be grateful if someone
could email me and tell me if its possible to convert a string to an
array whithout using the split[] or explode[] function, as these aren't
http://www.nomonthlyfees.com
500 megs space, 5 gig bandwidth, PHP4, MYSQL, SSL,SSH, etc
On-line administration tool
decent customer service
$200 first year (includes domain registration)
$70 year thereafter, includes domain registration
-Original Message-
From: Thomas Edison Jr.
Oh yes, definately. With the appropriate columns too.
--- Rick Emery [EMAIL PROTECTED] wrote:
Has fanlist_try table been created?
-Original Message-
From: Thomas Edison Jr.
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 10:54 AM
To: Jason Murray
Cc: [EMAIL
Check out :
http://www.weberdev.com/index.php3?GoTo=phenominet/prices.htm
This is your one stop shop for hosting. WeberDev.com is hosted there
and I can tell you that their service is amazing. They are fast,
reliable
and more than anything, very professional (specially in PHP / MySQL).
Thomas Edison Jr. wrote:
Hi,
Lookin for about 50 Megs with php4, mySQL and the
works. Any economical hosts??
thanks.. t. edison jr
__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
On Wednesday, February 13, 2002, at 10:37 AM, Rick Emery wrote:
What error did you receive? What was displayed? Please show your
code; I
hope there was no line break as shown below. Unfortunately, my mail
client
breaks lines after about 40 cchars.
Well, to post the actual code would
Thomas,
Can you provide your table structure and about a dozen lines from your file?
I'd like to experiment with it on my machine.
We WILL get this resolved...
rick
-Original Message-
From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 11:09 AM
To:
Good day,
The proper syntax is:
INTO TABLE table
and not:
INTO table
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948
-Original Message-
From: Thomas Edison Jr.
I have been using http://www.cedant.com for about a year now. They have
different packages for different needs.
-Jackson
-Original Message-
From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 12:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Cheap, PHP,
This is frustrating, because I have used header(location) with parameters
and it has worked.
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 11:12 AM
To: Rick Emery
Cc: PHP
Subject: Re: [PHP] querystrings passed in header(Location: n) ?
Hi Rick,
Thanks for the support!
This is the mySQL Table Structure :
$sql = CREATE table fanlist_try (ID bigint(21) NOT
NULL auto_increment, name varchar(50), email
varchar(70), age int(10), sex varchar(20), country
varchar(50), PRIMARY KEY (ID));
And these are few lines from the fanlist.csv
Hi Rick,
Thanks for the support!
This is the mySQL Table Structure :
$sql = CREATE table fanlist_try (ID bigint(21) NOT
NULL auto_increment, name varchar(50), email
varchar(70), age int(10), sex varchar(20), country
varchar(50), PRIMARY KEY (ID));
sex varchar(20) sounds great. why do
Hi Darren,
Actually your code worked, those errors did go way by
putting in INTO TABLE .. but there's a very funny new
problem.
I get this error on the page :
error:Access denied for user: 'mjimm@localhost' (Using
password: YES)
And believe me, i'm using the correct password/user!
The same
Val,
quite frankly, i'm not quite sure i know what you're
talking about. i don't think i know enum() function!!
T. Edison jr.
--- val petruchek [EMAIL PROTECTED] wrote:
Hi Rick,
Thanks for the support!
This is the mySQL Table Structure :
$sql = CREATE table fanlist_try (ID
You could try:
www.spyproductions.com
But I'm not biased!
:)
-Mike
-Original Message-
From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 12:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Cheap, PHP, mySQL hosting!
Hi,
Lookin for about
You can convert both date formats into a UNIX timestamp, then do a
picturedate logindate.
To convert them into a unix timestamp you need to use strtotime function
http://www.php.net/manual/en/function.strtotime.php
$ldate = strtotime($logindate);
$pdate = strtotime($picturedate);
Enum is not a function; it's a mysql data type. It's very useful when field
values are from the finite set.
Examples
CREATE table fanlist_try (ID bigint(21)
NOT NULL auto_increment, name varchar(50), email
varchar(70), age int(10), sex enum('male','female'), country
varchar(50), PRIMARY KEY
Stalmannen [EMAIL PROTECTED] wrote in message
001f01c1b485$ea5dcb30$6900a8c0@web">news:001f01c1b485$ea5dcb30$6900a8c0@web...
Hej!
I have a question. I send mail from a php-script with the mail()-function.
However the smtp server I use has a wrong time set. Can I set the sent-time
through the
Val,
hey thanks.. that's a very interesting data type.
wonder why i never knew it. thanks a bunch. i'll def.
be using it more often now.
the current problem at hand of getting the :
error:Access denied for user: 'mjimm@localhost' (Using
password: YES)
is really jamming the thought process. i
Lookin for about 50 Megs with php4, mySQL and the
works. Any economical hosts??
You could try:
http://www.datasnke.co.uk
And I am biased...
Alastair
Lightwood Consultancy Ltd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Enum is not a function; it's a mysql data type. It's very useful when
field
values are from the finite set.
Examples
CREATE table fanlist_try (ID bigint(21)
NOT NULL auto_increment, name varchar(50), email
varchar(70), age int(10), sex enum('male','female'), country
varchar(50), PRIMARY
Good day,
That's difficult to say, as I'm not familiar with running MySQL on Windows.
You should print out $query, and then make sure the file exists and that the
MySQL server has the permissions to read it. Remember that it's the server
that's reading in the file, not whatever the client is
Me thinks you need to have file privileges. See
http://www.mysql.com/doc/P/r/Privileges_provided.html
-Original Message-
From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]]
the current problem at hand of getting the :
error:Access denied for user: 'mjimm@localhost' (Using
password:
Actually, I don't really know what to put in it. I thought that's what it
wanted. What does it want?
David Robley [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
Well, I did this:
[mail function]
SMTP
I figured this one out, so I thought I'd put it in the archives ...
I just spent a few hours pulling my hair out because the mail sent by mail() was
coming from 'unprivileged user' on my freebsd box. It worked fine for another site on
the same box. It turned out that I has mistakenly
Why not start a php-jobs mailing list?
It would be an ideal place for employers and job seekers alike, just like the
SecurityFocus security-jobs mailing list.
- Casey
On Tuesday 12 February 2002 17:28, you wrote:
On Tuesday, February 12, 2002, at 05:17 PM, NDPTAL85 wrote:
You know at most
show us more code.
I believe SMTP would require the mail server
Can you mail via the mail() function?
-Original Message-
From: Dr. Shim [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 12:44 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Troubles With Mail Function
Hi,
I found a weekness in one of my local dev projects today.
php.ini is set ut with cookies off in session handling.
I asked another user to send me his url when logged in,
I copied and pasted it and then I was logged in as him.
What should I do? Turn cookies on? Or write ip to mysql? or...?
On Wed, 2002-02-13 at 07:19, brendan conroy wrote:
Hi, thanks for reading this novice question, I'd be grateful if someone
could email me and tell me if its possible to convert a string to an array
whithout using the split[] or explode[] function, as these aren't
appropriate for the task.
Hi,
I don't understand...
Everybody says PHP is server based, so everything is calculated before the
user sees it in his browser. But if that is the case how is it then possible
to use if-statements. Wouldn't that mean that the if-statement has been
executed before the user makes a selection?
Hi, everybody, I have a problem which is really annoying. MY php dies every 2 days.
I'm not a programmer, I'm more as a system administator
I have the following configuration on my machine
Linux RedHat 7.2
php-4.0.6-7.i386.
As soon as I reinstall php package (RPM) it works for the next few
The if-statements are based upon values read from session variables,
cookies, values from databases, and values for the form that was just
submitted.
So, no, there are no if-statements executed on data the user has not
submitted.
-Original Message-
From: Morten Nielsen [mailto:[EMAIL
How is PHP dying? Is it really you web-server that is dying?
What happens when you execute PHP at the command line?
-Original Message-
From: Ice [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 1:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP] php dies every 2 days
Hi,
On Wed, 2002-02-13 at 09:06, Erik Price wrote:
On Wednesday, February 13, 2002, at 10:19 AM, brendan conroy wrote:
Hi, thanks for reading this novice question, I'd be grateful if someone
could email me and tell me if its possible to convert a string to an
array whithout using the
Hi!
You can find many part-time jobs for you at:
http://endi.go.ro/ml.htm
__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Wed, 2002-02-13 at 11:56, Rick Emery wrote:
The if-statements are based upon values read from session variables,
cookies, values from databases, and values for the form that was just
submitted.
So, no, there are no if-statements executed on data the user has not
submitted.
Say what?
I can't get the Zend and TSRM directories from CVS:
$ cvs -d :pserver:[EMAIL PROTECTED]:/repository co Zend TSRM
cvs server: Updating Zend
cvs server: cannot open directory /repository/Zend: Permission denied
cvs server: skipping directory Zend
cvs server: Updating TSRM
cvs server: failed to
Hi, i'm writte from Chile. If you writte to little php-script for send mail, what send
you mail ?.
I question you, because i'm writte a tipical php-script tell a friend, but i have
problems with getenv(HTPP_REFERER), because send only my https fixed.
Renato.
Stalmannen ha escrito:
Hej!
Just remember that what the user sees is always just static html. If some decision
needs to happen the user has to send some sort of request of the web server to do
something, and that's where PHP does its thing.
For client-side stuff, like Java Applets. There is actually code running on the
On 13 Feb 2002 at 17:33, Renato Salvatore Moya L. wrote:
Hi, i'm writte from Chile. If you writte to little php-script for send mail, what
send you mail ?.
I question you, because i'm writte a tipical php-script tell a friend, but i have
problems with getenv(HTPP_REFERER), because send
Renato,
To send mail, use PHP's mail() function:
mail($recipient,$subject,$message,$headers);
You can reference $HTTP_REFERER directly without saying getenv(HTTP_REFERER)
-Original Message-
From: Renato Salvatore Moya L. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002
On 13 Feb 2002 at 14:40, Rick Emery wrote:
Renato,
To send mail, use PHP's mail() function:
mail($recipient,$subject,$message,$headers);
You can reference $HTTP_REFERER directly without saying getenv(HTTP_REFERER)
Yeah, and if your mail function is being called within a function, just
Hi,
I have a site where users should log in. What is smartest/most secure way of
handling this?
Should I use sessions, HTTP authentication or just pass the parameters when
I call a new page?
Thanks,
Morten
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Wed, 2002-02-13 at 07:34, Erik Price wrote:
On Wednesday, February 13, 2002, at 09:53 AM, Rick Emery wrote:
try:
header(Location:
domain.com/errorpage.php?errorcode=.urlencode($errorcode));
First to the original question: yes, querys are allowed in Location
headers, according to
On Tue, 2002-02-12 at 17:57, Erik Price wrote:
Sorry, I debugged it myself.
Don't add extra whitespace lines after you jump out of PHP mode (for
instance, at the end of an include file, don't have any extra lines
after the '? PHP-jump-out mark'. The extra lines at the bottom of the
1 - 100 of 156 matches
Mail list logo