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
Executing the script could be good :)
Try a system(); command.
Alas, remember, PHP runs as whatever user apache does, so chances are it has
no privledges to run any of these operations as it is
www/nobody/apache/daemon/etc.
You could sudo it in the system call.
- k
- Original Message
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 uni
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
>
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 issu
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 us
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
f
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:
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
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 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
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 |
| S
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
Su
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
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
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 upside,
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 possi
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
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: [PH
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
> [EMAI
You mean something like phpMyAdmin?
http://www.phpwizard.net/projects/phpMyAdmin/index.html
- Kath
- Original Message -
From: "Augusto Cesar Castoldi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 05, 2001 9:19 AM
Subject: [PHP] "Fr
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?
>
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: "
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
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 PRO
Food for thought: Is PHP code software?
- 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,
x27;m not familiar with how.
- Kath
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]&g
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
- Ori
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&quo
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
>
>
hese books and STILL refer to them today.
- Kath
- Original Message -
From: "Manisha" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 15, 2001 10:46 PM
Subject: [PHP] Want a Good Book for Ref on PHP
> Hi all,
>
> I am just entering into PHP w
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
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 wron
|
| - 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 PRO
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
http://fractalcore.com/cgi-bin/Ultimate.cgi?action=intro&number=1&category=1
vBulletin looks the same.
- Kath
- Original Message -
From: "Boget, Chris" <[EMAIL PROTECTED]>
To: "'Kath'" <[EMAIL PROTECTED]>; "'Jimmy Bäckström
threads, personally.
- Kath
- Original Message -
From: "Boget, Chris" <[EMAIL PROTECTED]>
To: "'Jimmy Bäckström'" <[EMAIL PROTECTED]>; "PHP General List"
<[EMAIL PROTECTED]>
Sent: Tuesday, March 20, 2001 4:57 PM
Subject: RE: [PHP] C
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
Having some problems with syntax.
If I wanted to SELECT only 5 instances of something from a database and order it by
datetime, how would I do that?
- Kath
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
&g
> Where did the chicken come from, God?
Lets not get into that debate :|
- Kath
- Original Message -
From: "Keith Vance" <[EMAIL PROTECTED]>
To: "Jerry Lake" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, March 09, 2001 7:01 PM
Subj
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 P
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 P
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
$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"); }
-----
Don't forget to close the . 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]>
S
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 PROTEC
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,
>
>
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
Make sure there are no lines (except a
yadda yadda yadda etc etc etc
Example that will not work:
yadda yadda yadda etc etc
Hope this helps,
Kath
- Original Message -
From: "Sascha Andres" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 19
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,
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","",$something);
- Kath
- Original Message -
From: "Brandon Orther"
ace, instead 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 ev
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 l
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
My copy of UltraDev 4 lets you work with PHP.
Might not have all the bells and whistles, but it works good and lets me
seemlessly mix HTML/JScript/PHP. :)
- Kath
- Original Message -
From: "kaab kaoutar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday,
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
>
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
Do you mean, like if they are editting their profile, their existing one
shows up in the text box?
Here is a chunk of code I wrote to do that this morning:
---
"); ?>
PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTE
true.
But why would Microsoft be using PHP? =D
- Kath
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
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 (mys
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:
> >
ge"
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 e
68 matches
Mail list logo