Can someone send me a link to where i can find easy to read docs on
getting php set up on Apache ...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Whats the best information to add to a session to say a user is logged in?
I currently have $siteUserLogIn="true";
anything else that I could add to beef up security?
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing
I just about wet my self laughing.
Just look around the net, PHP is used in about 40% of the online shopping sites.
- Original Message -
From: "PHP Email List" <[EMAIL PROTECTED]>
To: "Jimmy" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, February 13, 2004 6:48 PM
Subject: RE
$_SERVER["PHP_SELF"]; returns /c/hosting/newman/hello.php
is there an easy way to get get hello.php?
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
loadimage.php has the following code in it.
Only half the image is shown ... it stops loading the image or the image wont' load at
all.
Any Ideas what the problem could be?
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List
payme $80 a hour and i can write one ... (o;
- Original Message -
From: "Eric Belardo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 15, 2004 2:33 PM
Subject: [PHP] Script Needed
> Good evening all,
>
> I am designing a website were different users will be postin
Hi, just wanted to pick someones brain.
I want to store some images outside the /public_html/ how ever my isp has decided that
i'm not aloud
to write files in that area. Would the next best solution that wold be as secure to
maybe put them
in a folder with a .htaccess file in it?
---
Phi
can someone point me to the right place for a thing that would count charactors in a
string?
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
echo"$PHP_SELF";
maybe?
- Original Message -
From: "Dino Costantini" <>
To: "PHP Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, January 02, 2004 11:30 AM
Subject: [PHP] A simple instruction
i have a file name with the path ex food/italy/pizza/margherita.php. how can i obtain
the name
yes HNY to you too
- Original Message -
From: "Larry Brown" <>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Thursday, January 01, 2004 1:37 PM
Subject: [PHP] PHP New Year
> Happy New year all!
>
> Looking forward to bigger better things this year.
>
> Larry
>
> --
> PHP General Mailing
Hay guys, Where is the best place to search the general-php archives (o;
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
Ph: +64 9 576 9491
Fx: +64 9 576 2532
Mob: +64 21 0483 999
-
"
Should $_POST[formReviewBy] have quotes or dose it not matter?
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, is the best way to store data in a mysql database in the text it was submitted, or
in HTML
format ... changing all the \r's and things to
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
HP.
> On Wednesday, December 17, 2003, at 03:10 PM, Philip J. Newman wrote:
>
> > Question:
> >
> > When you hit enter in a text box is that classified as a \n?
> >
>
> generally, yes.
>
> depending on the client platform, it might be an \r\n or
Question:
When you hit enter in a text box is that classified as a \n?
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hay that works better thanks
- Original Message -
From: "Paul Chvostek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 14, 2003 2:17 PM
Subject: [PHP] Re: What would the best way to veladate a URL string?
> On Sun, Dec 14, 2003 at 11:23:25A
so far i got ...
and i can't get it to work
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Query");
$exists_hUrl = "0";
$exists_hContactEmail = "0";
while ($row = mysql_fetch_array($sql_result)) {
if ($websiteUrl==$row["hUrl"]) { $exists_hUrl = "1"; break; }
if ($websiteEmail==$row["hContactEmail"]) { $exists_hContactEmail = "1&q
What would the best way to veladate a URL string?
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
what is the best way to remove extra \'s from strings ... would be ?
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I would like to check if i have a correct url enterend
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Call to undefined function: imagecreatefromjpeg()
> Philip J. Newman wrote:
> > http://www.php.net/manual/en/function.imagecreatefromjpeg.php
> >
> > After using this code for some time it suddenly returns ...
>
> It's not suddenly, someone must have recompiled php
http://www.php.net/manual/en/function.imagecreatefromjpeg.php
After using this code for some time it suddenly returns ...
Fatal error: Call to undefined function: imagecreatefromjpeg() in
/home/crushme/public_html/includes/inc_members.php on line 564
Is this the server or code that needs to
My goal is to input the amount of Bytes used by a user as $inputbox and
calculate how many kbs,megs,gigs along with $cost for the price per meg.
$inputbox bytes = $kbs kb.$megs meg @ $0.05c per Meg =
\$$cost$gigs gig.";
?>
This is what I get outputted.
414478244 bytes =
404763.910156 kb.
395.27
thanks
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 06, 2003 7:06 PM
Subject: Re: [PHP] Re: Failed to Receive in E:\...\mailscript.php on line 25
> On Sunday 06 July 2003 14:59, HÃ¥kon Strandenes wrote:
> > This is not my server, so
I run a website from New Zealand. The problem is when it shows the time of the server, that just happens to be located in Dallas
USA. Is there a way that I can change the time so it matchs New Zealand Time?
How would i valadate an email string to see if it has invalid charactors?
/ Philip
: "Michael Geier" <[EMAIL PROTECTED]>
To: "Philip J. Newman" <[EMAIL PROTECTED]>
Cc: "PHP" <[EMAIL PROTECTED]>
Sent: Monday, June 16, 2003 2:56 PM
Subject: Re: [PHP] / [Newman] When i send an email it ...
> The error is your answer. The server
My code is this ...
\n";
$headers .= "From: \"Philip Newman\" <[EMAIL PROTECTED]>\n";
$headers .= "Reply-To: \"[EMAIL PROTECTED]" <[EMAIL PROTECTED]>\n";
$msg = "Dear $mUserName,\n\n";
$msg .= "You have requested a user account on Untouched.
To Do:
I would like to call image /user/mysite/image_01.jpg using something like
/user/mysite/public_html/loadimage.php?image=1
is this a simple procedure or hard ...
any suggestions or someone want to point me in the right direcion/ Phil
Can someone point me to some documents about pulling images from out side the doc root?
thanks
/ Phil
thanks
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 08, 2003 8:57 PM
Subject: Re: [PHP] Checking for Valid Charactors.
> On Sunday 08 June 2003 16:22, Philip J. Newman wrote:
> > I would liek to che
I would liek to check for 0-9 and . charactors i'm using ...
$email = "60.00";
if eregi("^[0-9.])?$",$email) {
echo"valid";
} else {
echo"not valid";
}
Its not working well. umm ... help ...
Is there a way of changing only the 1st letter of a string to caps and the rest to
lower?
eg: foo bar
to
Foo Bar
??
/ Phil
PhilipNZ.com
[EMAIL PROTECTED]
I would like to know where i should be looking to pass an image through PHP
Thanks
/ Phil
My problem is this:
I have a site that has 3 levels of access.
1,2,3
when i upload files to say $unixtimestamp/image1.jpg anyone can list the images in
this directory $unixtimestamp/. I would like to hide the images out side the doc root
... is this possable .. so i can load something l
I would like to check that a string as more than 20 charactors in it. Can
someone point me in the right direction.
Thanks ..
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$mydate = "20030328231154";
$myPrintDate=date ("l dS of F Y h:i:s A",$mydate);
echo "$myPrintDate";
Whats wrong
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Whats the best way to make a random password with 4 letters and 2 numbers?
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mummy and Daddy sto fighting.
- Original Message -
From: "Dan Rossi" <[EMAIL PROTECTED]>
To: "Philip J. Newman" <[EMAIL PROTECTED]>; "Leif K-Brooks"
<[EMAIL PROTECTED]>
Cc: "Peter Houchin" <[EMAIL PROTECTED]>; "Dan
Again ... Now Now Kiddies your all way out of line.
- Original Message -
From: "Leif K-Brooks" <[EMAIL PROTECTED]>
To: "Dan Rossi" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 7:55 PM
Subject: Re: [PHP] Re: Internet Explorer toolbar
> Correct, but he asked for
Now Now children.
- Original Message -
From: "Dan Rossi" <[EMAIL PROTECTED]>
To: "Leif K-Brooks" <[EMAIL PROTECTED]>
Cc: "Peter Houchin" <[EMAIL PROTECTED]>; "Dan" <[EMAIL PROTECTED]>;
"php-general" <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 6:47 PM
Subject: RE: [PHP] Re: Internet E
You could chnage the permissions when you want to write something then
change it back when your done. Thats what i do.
/ Phil
- Original Message -
From: "Jennifer Goodie" <[EMAIL PROTECTED]>
To: "Dan Rossi" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 6:17 AM
Sub
$HTTP_X_FORWARDED_FOR
phpinfo();
Check that its in your PHP Info.
$REMOTE_ADDR will return the Remote Address.
I use This small loop.
if (!$HTTP_X_FORWARDED_FOR) {
$HTTP_X_FORWARDED_FOR=$REMOTE_ADDR;
}
/ Phil
- Original Message -
From: "Joakim Larsson" <[EMAIL PROTECTED]>
To: <[EMAIL
How would i check that an e-mail has the right parts in it. for example.
username @ domain . ext
Thanks
/ Jim Bob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there any documents on how code should be layed out?
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ot;>\r\n";
$headers .= "X-Priority: 3\r\n";
$headers .= "X-MSMail-Priority: Normal\r\n";
$headers .= "X-Mailer: iCEx Networks HTML-Mailer v1.0";
Is this about all i need to send a mail in PHP excluding the mail();
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$my_data = "This is a really long string that could go on for ever and ever
and ever and ever and ever and ever and ever and ever and ever and ever and
ever and ever and ever and don't wrap to my table it makes it bigger";
echo $my_data;
How can I make this wrap to the table?
uot;Directory for User, $sUser, Doesn't Exist.. Creating..";
mkdir("$siteGalleryUserPath",0777);
}
//Code to Add the gallery photoset directory here..
//(add a directory $datestamp under the username dir..
mkdir("$destination",0777); // LINE 72 from error above.
end snip
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
$lastDate is a unix time stamp in mySql ... how can i list ONLY the users
who have not logged in for 60days?
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
result = unlink("file.txt") or die("Operation failed!');
>
> On Monday, March 17, 2003, at 12:58 AM, Philip J. Newman wrote:
>
> > How do i delete a file ... ?
> >
> > kill?? dele *srugs*
> >
> > --
> > Philip J. Newm
How do i delete a file ... ?
kill?? dele *srugs*
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
+64 (9) 576 9491
+64 021-048-3999
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RIghto then. Just make a nice website, on my windows box and everything and
when i moved it to the live server, the things that didn't work where file
uploads. What (if any) settings do i have to use for a Linux dir ..
to allow access for the file to be uploaded?
--
Philip J. Newman.
"2"; }
else if ($gAccessLevel == "level-3") { $glevel = "3"; }
if ($slevel >= $glevel) {
//LOAD PAGE
}else {
// ERROR MESSAGE HERE.
{
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
+64 (9) 576 9491
+64 021-048-3999
--
Friends are lik
try
mysql_connect("loghost:3306","$username","$password");
- Original Message -
From: "Steve Shead" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 15, 2003 12:14 PM
Subject: [PHP] mysql_connect issue
> I'm trying to get a small PHP based log reader to run but get t
$sql .= " ORDER BY gId DESC LIMIT $gStart, 10";
echo $sql;
$sql_result = mysql_query($sql, $connection) or die (mysql_error());
MY ERROR MESSAGE IS ...
10You have an error in your SQL syntax near 'WHERE (gAccessLevel = 'level-1'
OR gAccessLevel = 'level-2
I have a user admin for a site, how ever passwords are stored in plane text.
Is there away to crypt and then read the crypt when verifying that string vs
the plane text in the password box?
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
--
PHP General Mailing List (http
assuming the value is 10, I stall can't get it to work
- Original Message -
From: "Michael Egan" <[EMAIL PROTECTED]>
To: "Philip J. Newman" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 9:29 PM
Subject: RE: [PHP] Ma
nection) or die ("Could not
get Query");
while ($row = mysql_fetch_array($sql_result)) {
$productCode=$row["productCode"];
echo "$productCode";
} // END WHILE.
echo"";
}
and it dose not work any help?
--
You have used the ' in sted of the " i assume that there is no difference?
- Original Message -
From: "Paul Chvostek" <[EMAIL PROTECTED]>
To: "David E.S.V." <[EMAIL PROTECTED]>
Cc: "Philip J. Newman" <[EMAIL PROTECTED]>; <[EMAI
how ever i don't think most ISPs let users pick names with the + sign in it
- Original Message -
From: "Paul Chvostek" <[EMAIL PROTECTED]>
To: "David E.S.V." <[EMAIL PROTECTED]>
Cc: "Philip J. Newman" <[EMAIL PROTECTED]>; <[EMAIL PRO
Required: Help for checking for a valid email string.
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
+64 (9) 576 9491
+64 021-048-3999
--
Friends are like stars
You can't allways see them,
but they are always there.
--
Websites:
PhilipNZ.com - Design.
If i was to use PHP to call all my images from out side the wwwroot, dose
anyone have a method that they use?
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
+64 (9) 576 9491
+64 021-048-3999
--
Friends are like stars
You can't allways see them,
but they are always
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
+64 (9) 576 9491
+64 021-048-3999
--
Friends are like stars
You can't allways see them,
but they are always there.
--
Websites:
PhilipNZ.com - Design.
http://www.philipnz.com/
[EMAIL PROTECTED]
Philip's Domain /
This one returns a 'Could not get Query' warning ... so thats out.
- Original Message -
From: "John W. Holmes" <[EMAIL PROTECTED]>
To: "'Philip J. Newman'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, March 03, 2003 5:3
I would like yo show the users in a list that have a date that is more than
60 days old.
$sql = "SELECT * FROM stompers WHERE sUpdated <
from_unixtime(unix_timestamp(now())-(15760*60)) AND sActive = 'Y' ORDER BY
sUpdated DESC";
This don't quite work ..
Any su
LOL got a reply to this before i ever got the message my self ...
- Original Message -
From: "Philip J. Newman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 02, 2003 10:56 AM
Subject: [PHP] Upper and lower case.
> Question:
>
> is i
Question:
is it better to store user names as upper and lower case? should they bee
converted to one case?
I have a script the checks for names and ...
Mark is not the same as mark, or MaRk ...
is there a way of making a string into lower case?
--
Philip J. Newman.
Head Developer
[EMAIL
Is there a way that i can restrict access to an entire directory using
PHP/MYSQL so only valid users in the Database can have access to a resource?
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
+64 (9) 576 9491
+64 021-048-3999
--
Friends are like stars
You can't allway
Is there a way to PING a URL and check if it returns a valid code like 200
... ??
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
+64 (9) 576 9491
+64 021-048-3999
--
Friends are like stars
You can't allways see them,
but they are always there.
--
Websites:
PhilipN
I would like to check for HTTP:// at the start of a string and for at least
1 . and a / at the end of a string.
I have tried ereg, but the documentation is not too clear how to format.
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
+64 (9) 576 9491
+64 021-048-3999
--
Friends
I would like to list 2 possable items in a mysql queary.
SELECT * FROM products WHERE productType = '$productType AND Where
productPublic = 'staff' OR productPublic = 'members' ORDER BY productId DESC
LIMIT 10
I would like to display a list of the same products only if productPublic =
staff or me
this was a functional email
- Original Message -
From: "Karl James" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003 12:24 AM
Subject: [PHP] test
> test
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a table with images and comments.
if i have $x amout of images that each have a comment.
the comments are displayed in the center colum of the table with the images loading
left and right of each comment.
http://www.philipnz.com/example.jpg
I can get the images to load in their left and
hilip';
> $first[] = 'John';
> $first[] = 'Paul';
>
> Now you can simply do:
>
> echo $first[0]; // this could output 'Philip';
>
> You can then look at multi dimensional etc...
>
> I trust this get's you on your way.
>
>
>
---
Philip J. Newman.
Head Developer.
PhilipNZ.com New Zealand Ltd.
http://www.philipnz.com/
[EMAIL PROTECTED]
Mob: +64 (25) 6144012.
Tele: +64 (9) 5769491.
VitalKiwi Site:
Philip J. Newman
Internet Developer
http://www.newman.net.nz/
[EMAIL PROTECTED]
*
Friends are like
Where should i start, tips wanted.
I would like to check a username string for valid charactors before the name
is processed.
Someone point me in the right direction please
---
Philip J. Newman.
Head Developer.
PhilipNZ.com New Zealand Ltd.
http://www.philipnz.com/
[EMAIL PROTECTED]
Mob: +64
How would i call a page in PHP that is XML?
eg; if i had a file that was like below.
http://www.philipnz.com/news/rss.xml
and i wanted to include it onto a page.
HELP (looking through the docs now)
---
Philip J. Newman.
Head Developer.
PhilipNZ.com New Zealand Ltd.
http://www.philipnz.com
confirm() returns a true or fulse.
what is confirm called as a veriable?
---
Philip J. Newman.
Head Developer.
PhilipNZ.com New Zealand Ltd.
http://www.philipnz.com/
[EMAIL PROTECTED]
Mob: +64 (25) 6144012.
Tele: +64 (9) 5769491.
Family Site:
Philip J. Newman
Internet Developer
http
windows 95 your jokeing right?
- Original Message -
From: "Uma Shankari T." <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Wednesday, September 25, 2002 4:13 PM
Subject: [PHP] Installing php in windows 95
>
> Hello,
>
> I need to install php for windows under particular folde
esult)) {
$sUser=$row["sUser"];
echo"$sUser,
";
}
?>
Is this the best way to do this?
---
Philip J. Newman.
Head Developer.
PhilipNZ.com New Zealand Ltd.
http://www.philipnz.com/
[EMAIL PROTECTED]
Mob: +64 (25) 6144012.
Tele: +64 (9) 5769491.
Family Site:
Philip J. Ne
I suggest you get a mailing list program if your sending to more than 1k of
users
Philip
- Original Message -
From: "Justin French" <[EMAIL PROTECTED]>
To: "Research and Development" <[EMAIL PROTECTED]>; "PHP General List"
<[EMAIL PROTECTED]>
Sent: Tuesday, September 24, 2002 1:57 PM
Sub
; this is only going to return records in a table, and not in a database
> >
> >
> > > select count(*) as n from ... where ...
> > >
> > > -Original Message-
> > > From: Philip J. Newman [mailto:[EMAIL PROTECTED]]
> > >
> &g
We have $sUsers registered users.";
?>
This would be the best way (suggestions would be cool);
- Original Message -
From: "Mark Charette" <[EMAIL PROTECTED]>
To: "Philip J. Newman" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday
Can someone point me in the right direction to find out how i can return the
amount of records in a mysql databace ?
---
Philip J. Newman.
PhilipNZ.com New Zealand
http://www.philipnz.com/
[EMAIL PROTECTED]
Mob: +64 (25) 6144012.
Tele: +64 (9) 5769491.
Family Site:
Philip J. Newman
Internet
You could create a scema, or module that is called with each page load, that
checks for messages when the user is logged in. So when the message is
stored into the databace, when the user loads the anypage while logged in it
checks for new messages, and if the user has messages then the window po
You could use a SUB NET (o; to block a group of users ie 202.*.*.* would
kill most of New Zealand and Oz
- Original Message -
From: "Dave at Sinewaves.net" <[EMAIL PROTECTED]>
To: "PHPlist" <[EMAIL PROTECTED]>; "M1tch" <[EMAIL PROTECTED]>
Sent: Sunday, September 08, 2002 8:34 AM
Subject:
Looks good if your keen to shear the code we could have a tinkle with it and
see if we can work it out.
Phil
- Original Message -
From: "Ray Healy (Data Net Services)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 07, 2002 10:11 PM
Subject: [PHP] Enhancement of sc
session_name('sid');
session_start();
Do i have to use session_name('sid'); every time i use session_start(); or
can session_name be used once?
---
Philip J. Newman.
PhilipNZ.com Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
Mob: +64 (25) 6144012.
Te
I'm looking for the global veriable that lists the page before the page that
i just came from. Anyone know what i'm talking about?
---
Philip J. Newman.
PhilipNZ.com Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
Mob: +64 (25) 6144012.
Tele: +64 (25) 6144012.
Per
One question.
When i start a new session i get the veriable PHPSESSID=what ever added to
links that I want PHPSESSID to be called sid. How can i do this?
---
Philip J. Newman.
PhilipNZ.com Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
Mob: +64 (25) 6144012.
Tele: +64 (25
so how would i get the $username and $password into the session
session_register('$username','$password');
??
- Original Message -
From: "Wee Keat" <[EMAIL PROTECTED]>
To: "Philip J. Newman" <[EMAIL PROTECTED]>
Sent: Wednesday,
I have started a session on the server, and now would like to add a user
name and password, and some other information to the session to carry it
across all the other pages that are in this session. Any hints on where to
start?
---
Philip J. Newman.
PhilipNZ.com Design Solutions
http
I have started a session on the server, and now would like to add a user
name and password, and some other information to the session to carry it
across all the other pages that are in this session. Any hints on where to
start?
---
Philip J. Newman.
PhilipNZ.com Design Solutions
http
Only one value from a msSQL field.
I have many values the same in a field and would like to know how i can select one of
each (not mating).
$sql = "SELECT * FROM brands WHERE 1 ORDER BY `sId` DESC LIMIT 6";
lists everything ..
ANy help would be cool.
Phil
so it should be
session.save_path = c:\php\temp
at the moment it says
session.save_path = 1
- Original Message -
From: "Yasuo Ohgaki" <[EMAIL PROTECTED]>
Newsgroups: php.general
To: "Philip J. Newman" <[EMAIL PROTECTED]>
Sent: Monday, April 01, 2002
I'm trying to start a session, and I get this error.
I have been told its something to do with a missing dir is my php dir?
Warning: open(1\sess_0513b5c5d7021f1acdcf9f732032081f, O_RDWR) failed: No such file or
directory (2) in Unknown on line 0
Philip J. Newman
PhilipNZ :: Design Solu
] Some Problems that Newman has with PHP since reinstall.
> On Saturday 30 March 2002 14:26, Philip J. Newman wrote:
> > Hi People,
> > I just installed PHP again, and am having some problems with a few
things.
> > When Posting to a form, veriables do not travel across the page
??
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have just updated my copy of PHP and changed the INI file. Some of my redirect
commands no longer work.
Any Suggestions.
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
1 - 100 of 170 matches
Mail list logo