Perhaps check the URL and direct as such using header();. Use phpinfo(); to
find what var holds the current URL.
- k
- Original Message -
From: Ratfish [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 01, 2001 10:25 PM
Subject: [PHP] Simple Question, I think
All I
I'm looking to support the company though and my boss said he would buy
software for us.
- k
- Original Message -
From: Henrik Hansen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 30, 2001 6:08 AM
Subject: [PHP] Re: PHPEd
[EMAIL PROTECTED] (Kath) wrote
Quite an interesting quandry I have.
What I have is this:
Table schooltypes:
(typeid is a unique# iding the type, schooltypes is the type of school, say
Elementary School or High School)
| typeid | schooltypes |
Table schools:
(typeid is the type the school falls under, schoolid is the
Is it worth picking up the retail NuSphere copy of PHPEd?
I'm using the 1.75 Alpha now and enjoy it a lot over what I was using prior
(Dreamweaver).
Only peeve is what seems like a memory leak (PHPEd will crash after a bit of very
minor web browser/message client/email use) in 1.75. Have
http://phpclasses.upperdesign.com/browse.html/file/766
Try that class.
- k
- Original Message -
From: Tom Malone [EMAIL PROTECTED]
To: PHP Users [EMAIL PROTECTED]
Sent: Sunday, September 23, 2001 10:07 PM
Subject: [PHP] IMAP - create user?
Is there a way to create a new user with
I have some user profiles and I'd like them to be able to update them as they see fit
(Change their email, password etc etc).
However, their options are rather long and instead of having these turkeys have to
type in stuff into 8 form fields, I'd like to display the current data in those
Example if you do know the number of items in the array:
/* Begin */
$choice = rand(1, 6);
echo $array[$choice];
/* End */
That will randomly pick something from 1-6 in the array.
If you do not know the number of things in the array (say it is off a form
or something):
/* Begin */
$numinarray
Which is more resource attentive however (Random question, not necessarily
pertaining to this)?
Making MySQL do extra work or PHP do some extra work?
- k
- Original Message -
From: King, Justin [EMAIL PROTECTED]
To: Rasmus Lerdorf [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday,
I have some checkboxes on a form.
Now I figured out how to store them in a database sandwiched together (like
thing1,thing2,thing3,thing4).
However, what is the best method for storing them each in an individual
field.
This is what I'd really like:
| userid | otherthing |
|1 |azu
Whats your time frame for deployment of the email?
You might want to stagnate it out... like loop through 100, pause for 10
secs, do the next 100, pause, repeat. Maybe longer if you could.
You could always have it record the number, stop it and adjust higher/lower
as required.
Also, make sure
I have a MySQL table which stores information like this:
| Type | Place Name | Place Abbrv |
and lets say I have data in the table like:
Example #1:
| Office | Bill's Office | bo |
| Store | Millcreek Supply | mcs |
| Office | Harry's Office | ho |
| Store | Sam's Discount Taxidermy | sdt |
|
I knew it was a joke yeah... really... I did ;)
- k
- Original Message -
From: Ryan Fischer [EMAIL PROTECTED]
To: kath [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, August 07, 2001 11:20 PM
Subject: Re: [PHP] close browser
You wrote:
You wrote
PHP cannot execute client side actions, afaik.
- k
- Original Message -
From: Ryan Fischer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, August 07, 2001 10:39 PM
Subject: Re: [PHP] close browser
You wrote:
Can anybody tell me what the code to close the
I think the response to this will probably be equally informative and
hilarious.
- k
- Original Message -
From: Kyle Smith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 02, 2001 7:34 PM
Subject: [PHP] Spot the difference?
Whats the difference between ASP and PHP cause
I use Quanta. Sorry, don't have a link at the moment. Try on freshmeat.net
or sourceforge
- k
On Tuesday 24 July 2001 11:27 pm, Chip wrote:
Joseph Blythe wrote:
Try PHP Coder Pro! http://www.phpide.de
Too bad it's a winblows-only app. :-(
Chip
Regards,
Joseph.
Hiya all.
Doing the usual web based mail system.
How can I check to see if a email has an attachment? Then download it if the
user clicks on it?
Preferably a class, documentation or something similar, if you have it.
Please don't link an RFC, I hate RFCs, it is like reading Aramaic
Not with PHP. Maybe some Javascript could.
But why would you want this? Planning some infinite spawning pop up website?
=)
- k
On Thursday 19 July 2001 08:28 am, you wrote:
Hello,
I need to prevent user to close the web browser on close button or by
pressing ALT+F4.
Is this possible?
Original message:
I am trying to write a web-based email client for my site (or are there
any samples) using php4 and POP3.
Reply:
The one which I use which matches your requirements (non-PHP, perl-module
driven) is NS WebMail,
He just said he was using PHP4, not Perl :)
- k
-
Web Application Development for PHP 4.0 (Ratschiller, Gerken)
I'm reading through this one now, I like it.
- k
- Original Message -
From: Chris Lambert - WhiteCrown Networks [EMAIL PROTECTED]
To: Chris Lott [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, July 08, 2001 4:31 AM
Do you have extension=mysql.so in your php.ini?
- Kath
- Original Message -
From: John Monfort [EMAIL PROTECTED]
To: Enrique Ivorra Gómez [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 9:05 AM
Subject: Re: [PHP] I have a problem with phpMySqlAdmin
Is your
http://www.bbspot.com/News/2000/6/php_suspend.html
- Kath
- Original Message -
From: Joseph Blythe [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, May 14, 2001 12:30 AM
Subject: Re: [PHP] HallMark uses PHP
[EMAIL PROTECTED] wrote:
I was just looking
Don't you need a $ before acao on the line:
if (acao == 1) {
?
- Kath
- Original Message -
From: Rafael Faria [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 01, 2001 6:08 PM
Subject: [PHP] What's wrong?
What's wrong with my php file
Not with Linux, in my experience at least.
- Kath
- Original Message -
From: Manesh [EMAIL PROTECTED]
To: Taylor, Stewart [EMAIL PROTECTED]; 'Johannes
Rumpf' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, April 28, 2001 8:56 AM
Subject: [PHP] PHP.INI
Do u have to resart ur comp
copyrights.
Besides, as someone said, it is humor. And Jason said Mockery is the
biggest form of flattery.
I don't think people are gonna goto phpsucks.net and seriously not use PHP
because of it. I mean people still use AOL :/
- Kath
- Original Message -
From: Jack Lauman [EMAIL PROTECTED
I agree 100% with Professional PHP Programming. It was my first book.
Also php fast and easy web development by Julie Meloni.
- Kath
- Original Message -
From: Angerer, Chad [EMAIL PROTECTED]
To: 'Hamed Nik' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, April 27, 2001 9:21 AM
not familiar with how.
- Kath
Thank you! I wasn't doing the application/x-httpd-php part right!
Thanks!
- Kath
- Original Message -
From: Philip Olson [EMAIL PROTECTED]
To: Kath [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, April 27, 2001 2:37 PM
Subject: Re: [PHP] PHP4, .php3 files and Apache
do
Food for thought: Is PHP code software?
- Kath
What makes something done for free (Say Linux or something infinitely
smaller, the forums I am writing) not software?
Isn't freeware a form of software?
- Kath
- Original Message -
From: Chris Anderson [EMAIL PROTECTED]
To: Kath [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, April
This isn't really the list for this.
Read the docs here:
http://www.linuxdoc.org/HOWTO/Linux+Windows-HOWTO/index.html
http://www.linuxdoc.org/HOWTO/mini/Linux+Win95/index.html
You also might want to read the NHFs here:
http://www.linuxnewbie.org/nhf/intel/index.html
- Kath
- Original
In the future, do not post your mysql password on the list
Just a little piece of advice ;)
Also, try checking the online errata for the book (You didn't mention which
book so I can't point you in the right direction).
- Kath
- Original Message -
From: "Navid Yar" [EMAIL
Yes, they do.
- Kath
- Original Message -
From: "Manisha" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, April 15, 2001 11:11 PM
Subject: Re: [PHP] Want a Good Book for Ref on PHP
Whether these books cover PHP 4 also ?
manisha
At 10:54 PM 4/15/01 -0400,
Sessions would do this.
- Kath
- Original Message -
From: "kaab kaoutar" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 09, 2001 1:00 PM
Subject: [PHP] login security
Hi!
i have developped a site using php, but i'd like to add a login acess
for private pag
Can you traceroute it? Maybe that can pinpoint the cause of the problem for
you.
Works for me.
- Kath
- Original Message -
From: "Christian Dechery" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, April 08, 2001 8:02 PM
Subject: [PHP] anything wrong wi
I guess I'm doing another rite of passage for a PHP programmer: The forum
Any advice?
I did code forums once before, but they were rather rudimentary (No OOP, poorly
written, no DB abstraction).
- Kath
|
| - Reply 2
( I hope that formatted ok)
This is phorum style:
+ Main Post
- Reply 1
- Reply 2
- Reply 3
- Reply 4
I'm partial to phorum style, myself.
- Kath
- Original Message -
From: "Gfunk" [EMAIL PROTECTED]
To: "Stephan Ahonen" [EMAIL PROTECTED]; "PHP Use
personally.
- Kath
- Original Message -
From: "Boget, Chris" [EMAIL PROTECTED]
To: "'Jimmy Bckstrm'" [EMAIL PROTECTED]; "PHP General List"
[EMAIL PROTECTED]
Sent: Tuesday, March 20, 2001 4:57 PM
Subject: RE: [PHP] Create a Bulletin Board
Yo!
I'm thinking
I tried emailing him 5 times with this, but I could never get through :|
I even found the script for him and tried to send it to him :|
- Kath
- Original Message -
From: "Henrik Hansen" [EMAIL PROTECTED]
To: "Mick" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sund
Compile PHP as CGI and you should be able to.
- Kath
- Original Message -
From: "Alexandre Hautequest" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 09, 2001 1:07 PM
Subject: [PHP] Using PHP as a shell script
Hi all.
Can i use PHP as a shell script,
Yeah. I even see some PHP book authors, like Julie Meloni here on this
list.
There is never a question, no matter how retarded, that this list or #php on
irc.openprojects.net has never been able to answer.
- Kath
- Original Message -
From: "Krznaric Michael" [EMAIL
Yes, lets please respect everyones beliefs and just drop this.
- Kath
- Original Message -
From: "Rick St Jean" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 09, 2001 7:44 PM
Subject: RE: [PHP] Advanced PHP
if (you want to debate)
{
I have a user database where a year has to be put in.
Now, I want to compile a list of each different year and how many users are in that
year.
Is there a way to do this beyond coding for each year:
SELECT * FROM students WHERE year = '1983' ?
- Kath
I'd like to see this also.
- Kath
- Original Message -
From: "colin olkowski" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 26, 2001 3:58 PM
Subject: [PHP] php4 as a module AND a cgi
hi all,
thanks for the replies. many of you asked why I want to use php
$sql = "SELECT username FROM main_users WHERE username = '$username'";
$result = mysql_query($sql);
$num = mysql_numrows($result);
if ($num "0") { die ("That username already exists, please chose
another"); }
-----
That could do
Don't forget to close the /SELECT. Netscape doesn't like it without that
sometimes.
- Kath
- Original Message -
From: "PHPBeginner.com" [EMAIL PROTECTED]
To: "Peter Houchin" [EMAIL PROTECTED]; "PHP MAIL GROUP"
[EMAIL PROTECTED]
Sent: Saturday, Februar
Think of it this way:
Now you'll know both ASP and PHP for your next clients and can charge them
more because of your increased talents :)
- Kath
- Original Message -
From: "Adrian Murphy" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 19, 2001 7:21 AM
Sub
Make sure there are no lines (except a ?php of course) above your
session_start(), INCLUDING blank lines.
Example that will work:
?php
session_start();
?
HTML
yadda yadda yadda etc etc etc
Example that will not work:
?php
session_start();
?
HTML
yadda yadda yadda etc etc
Hope this helps,
Kath
Why do a lot of people use libraries like PHPLib?
I find it a lot better to write my own basic functions.
Is it just the attitude "Someone else coded it already, why should I?"
- Kath
http://www.netcraft.com/whats/ ?
- Kath
- Original Message -
From: "Jeremy Bowen" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 19, 2001 4:36 PM
Subject: [PHP] Determining what kind od software a remote server is running
Hey,
A while back someone pos
I don't exactly try to reinvent a new and better wheel... I just find that
writing my own libraries makes the site feel like it is more all mine.
- Kath
- Original Message -
From: "Martin A. Marques" [EMAIL PROTECTED]
To: "Kath" [EMAIL PROTECTED]
Cc: [EMAIL PRO
You want to totally remove \n?
$something = ereg_replace("\n"," ",$something);
That should do it. If you mean making \n into BR:
$something = ereg_replace("\n","br",$something);
- Kath
- Original Message -
From: "Brandon Orther&q
of
having to copy it to dozens of other places.
Also, what happens if you change your database password and now need to
change a bunch of pages to have the new password?
Problem solved in OOP, because the vars are all in the same file.
- Kath, a recent converter to OOP, but enjoying every minute
Hell yes to phpmyadmin, IMHO.
I use it on all my servers.
- Kath
- Original Message -
From: "php php" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, February 11, 2001 2:17 PM
Subject: [PHP] afraid !
Hi!
i've just joined ur mailing list!
i used to work on asp w
This isn't PHP related, but I hope it isn't too off topic for this list.
Does anyone here have an explanation guide to object oriented programming? I look at
stuff like $this-something and haven't the foggiest what it means. Would a book on
OOP be best?
- Kath, procedural programmer 4EVER
I'm partial to PHPEd.
- Kath
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 30, 2001 2:37 AM
Subject: [PHP] Editor
Hi,
I know this has been asked before but I can`t seem to get the archive
email
thingy to work, basically I`m looking
Do you still have r00t access to the database?
- Kath
- Original Message -
From: "Dominick Vansevenant" [EMAIL PROTECTED]
To: "Php-General" [EMAIL PROTECTED]
Sent: Monday, January 22, 2001 9:05 AM
Subject: [PHP] oops, little problem with mysql
Hello,
I del
ROFLMAO =D
- Kath
- Original Message -
From: "Chris Aitken" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 8:11 PM
Subject: Re: [PHP] I love/hate FrontPage - need another HTML editor.
At 09:06 PM 16/01/2001, Kath wrote:
Hey,
To get Frontpage to
I like phpMyAdmin
- Kath
- Original Message -
From: "Gerry Chu" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 17, 2001 12:44 AM
Subject: [PHP] Anything similar to phpmyedit?
I'm looking for something exactly like phpmyedit (mysql database
displa
ot;
8 - Make command "frontpg.exe"
9 - Hit ok
10 - It should work :D
- Kath
- Original Message -
From: "Murph" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 8:50 PM
Subject: [PHP] I love/hate FrontPage - need another HTML editor.
Hi.
Fro
59 matches
Mail list logo