[PHP] Cannot add header information

2003-02-19 Thread G
I have a script which adds header information to a different page, on my server I get a Cannot add header information - headers already sent by. But on other servers it works fine, does any1 know why?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

Re: [PHP] Cannot add header information

2003-02-19 Thread G
no i tried that :( i think it somthing with my apache server -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SESSION variable to pass login ID

2003-01-12 Thread Willie G
Hi, I have been trying to solve the problem of using session variables, but I have not had any luck. What I want to do is simple, I want to set my userid and password in a login screen and use it later (in another php form) to log into the database. In my login PHP file I have the following: if

RE: [PHP] SESSION variable to pass login ID

2003-01-12 Thread Willie G
Tom, I do have a session_start() in both files, but it does not seem to help. - Larry -Original Message- From: Tom Rogers [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 12, 2003 11:36 AM To: Willie G Cc: [EMAIL PROTECTED] Subject: Re: [PHP] SESSION variable to pass login ID Hi

RE: [PHP] SESSION variable to pass login ID

2003-01-12 Thread Willie G
et($_POST['pword']))) { $_SESSION['user'] = $_POST['userid']; $_SESSION['password'] = $_POST['pword']; } That should work. "Willie G" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Tom

RE: Re: [PHP] Mass Mailing with PHP & MySQL

2003-01-19 Thread Brendon G
I had an idea myself to do this. But I've held off because I want to do something rather robust but still flexible. I was going to use a database table.. with the fields.. to.. from.. subject.. body.. etc I was then going to have a cron task that ran every so often grabbing the records 1000-

RE: [PHP] Re: SQL Query

2003-02-15 Thread Willie G
Zydox, Please define 'sub-interest'. I've looked at what Uttam gave you, and it looks correct, assuming you want want it limited to the same user. If you result should be 'all with Interest = X and Valid = Y", just remove the userid from the second query. SELECT InterestsList.ID, InterestsList.

RE: [PHP] Re: SQL Query

2003-02-15 Thread Willie G
ruary 15, 2003 11:01 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: SQL Query The result recived from that query is this ID SubID Interest Valid Edit Delete 4 3 Star Craft 1 But I want a Query that retrives "Star Craft", "Strategi", "Spel" and &qu

RE: [PHP] Inserting records in a particular way in MySQL

2003-02-16 Thread Willie G
Phillip, You will have to change your code, so the primary key is not an auto incremented value. If you don't, the auto increment will over-ride the 'get next' function. Here is what I use in my code. You just need to change it for your table. //- GetNextKey -// function getnextkey(){

RE: [PHP] Inserting records in a particular way in MySQL

2003-02-16 Thread Willie G
Miles, I never use auto increment. Not because of gaps, but in case I need to reload the table. They do have meaning if they are foreign keys to another table. - Larry -Original Message- From: Miles Thompson [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 16, 2003 1:14 PM To: Philli

[PHP] PHP and MYSQL

2003-07-07 Thread Bob G
Please help I am going quite mad. I am trying to install PHP-4. I purchased the PHP and MySQL web development book to this end. I am running under Win2000 and IIS. I downloaded from the PHP web site to get the latest versions. I first tried to do a manual installation but this appeared to fail so

[PHP] Session Problem

2003-07-14 Thread Sourabh G
Hi, I am getting a weird session problem in my site. Background of the Problem: -- My site use sessions for user authentication. Site has a Admin Panel where admin can search users and then through a link (which has login and password appended) login as user. On login as

[PHP] Forking PHP Processes on Unix (PHP4)

2003-08-03 Thread Damien G
Hi Readers, Heres what i'm trying to achieve: A script, that uses multiple fsockopen()'s and simltaniously get feedback from each socket from fget()s. Now, since using a single fget() needs to be in a loop then it's not possible to have more than one loop going at the same time. I was thinking o

[PHP] ADOdb

2002-09-24 Thread Brendon G
Just curious as to what the general consensus of opinion is on the following class. Do many of you use it?. http://php.weblogs.com/ADOdb Coming over to PHP from ASP (I'm not really interested in learning .Net at the moment) I like that I can switch databases allot faster if the need occurs by us

RE: [PHP] Re: after mysqlfront?

2002-10-04 Thread Brendon G
DB tools (getting better every version) http://www.dbtools.com.br/EN/ Cheers Brendon -Original Message- From: Ernani Joppert Pontes Martins [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 6:34 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: after mysqlfront? Mascon or Free Masco

RE: [PHP] Re: IIS 5 - ASP & PHP dev enviorment

2002-10-06 Thread Brendon G
I don't know how familiar you are with PHP yet. But I recently decided to learn PHP myself having already learnt ASP. These 3 things helped me the most. This is a summary of the language differences between PHP, JScript/Javascript and VBScript http://php.weblogs.com/php_jscript_vbscript_1 ADOdb

[PHP] .htaccess and mod rewrite.

2002-10-30 Thread Brendon G
I was looking over a tutorial on Php builder on making search engine friendly sites. While i got the concept of the tutorial and have it working here. I was wondering is it possible to get a php script to run out of the home directory of apache. tutorial: http://www.phpbuilder.com/columns/tim19

RE: [PHP] getting HTML header from URL

2002-11-01 Thread Brendon G
Can't you just call the contents of the page into a variable and extract what you need with regular expressions? Php / Html makes no difference its all text to fopen.. ~ > is there a way using fopen() or something similar t

RE: [PHP] checkboxes and selection lists

2002-11-04 Thread Brendon G
I use the following function for my check boxes in forms in PHP. Putting your form element creation into functions or even classes makes life so much easier when you have to validate / change code. you'll be glad you did it Cheers Brendon function fncwriteformcheckbox($strname, $strid, $strv

RE: [PHP] Convince teh boss

2002-11-07 Thread Brendon G
In the end it think comes down to use what you know best.. Php vs ASp vs JSp vs .Net consider your budget, clients needs, bosses needs, future needs etc. I came to Php as .Net came in. I really like Php, i also really like ASP. I learnt ASP first because my job required it, we had a IIS server

RE: [PHP] Graphics question

2002-11-07 Thread Brendon G
If it's just the browser caching are you able to use something like graph.jpg?cachebust=something random here like a datetime or something. I'm not familiar with the way your doing it.. but I guess it has to be given a name to the browser somewhere doesn't it? I use this on pages and images as we

[PHP] PHP installation _ help needed

2002-11-10 Thread Bob G
Hi people! I have MySQL working with ASP under win2000 and IIS. I have recently tried unsuccessfully to install PHP. Initially I started with zip binary distribution. I tested it with:- PHP Test "; ?> Couldn't be much simpler! Nothing worked but "view source" showed the above code. Th

RE: [PHP] How good is PHP to ASP?

2002-11-10 Thread Brendon G
I've noticed this question a fair bit, having to convince clients and employers of a technology.. DO you guys really have that much trouble selling php?? I tend to leave the development environment out of conversations all together and talk product features, scalability, promotion etc I do this

[PHP] Re: PHP installation _ help needed

2002-11-11 Thread Bob G
ED]> wrote in message news:2002060718.30648.qmail@;pb1.pair.com... > What u had done to install PHP > > added a dll module in IIS or Mapped the php.exe to .php and .php3 or .php4 > > Prachait > > Bob G wrote: > > > Hi people! > > I have MySQL wor

RE: [PHP] refresh

2002-11-11 Thread Brendon G
http://www.google.com/search?q=meta+refresh+html+code Google is your friend. Cheers Brendon -Original Message- From: Shaun [mailto:johan@;novtel.co.za] Sent: Monday, November 11, 2002 9:24 PM To: [EMAIL PROTECTED] Subject: [PHP] refresh hi, How do you refresh a page in php? If i can

RE: [PHP] Help with project

2002-11-13 Thread Brendon G
*slaps head* *screams* feel better now *gets back to work* Cheers Brendon -Original Message- From: Karl James [mailto:karl.james@;verizon.net] Sent: Thursday, November 14, 2002 3:41 AM To: [EMAIL PROTECTED] Subject: [PHP] Help with project Hello people Im doing the fantasy footbal

[PHP] InstallShield

2002-11-16 Thread Bob G
y alert. The doc_root = is as InstallShield installed it. I have tried C:/PHP with no change in results. Could someone please explain what I am doing wrong and suggest a solution. Many thanks Bob G. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Unusual HTTP header control

2002-11-16 Thread Brendon G
Not that I've ever used them but wouldn't Sockets be a good place to start? Cheers Brendon -Original Message- From: Morgan Hughes [mailto:[EMAIL PROTECTED]] Sent: Sunday, November 17, 2002 4:40 PM To: PHP General List Subject: [PHP] Unusual HTTP header control Hello list, I'm hoping

RE: [PHP] I'm in need of a PHP web host recommendation

2002-11-17 Thread Brendon G
ProHosters http://www.prohosters.com Good plans, Good Price, Great Support. I recommend the semi dedicated plans. Cheers Brendon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PLEASE HELP! session variable fails to persist!!

2002-06-14 Thread Zlutarch G.
Hi, My session variables won't persist, could someone help me with this problem? I spent all day trying to figure out what is wrong, and I still don't know why I couldn't get it to work. Here is an example script: "; echo "session var: ".$_SESSION["var"].""; fnB(); function fnA(){ $_SE

Re: [PHP] PLEASE HELP! session variable fails to persist!!

2002-06-14 Thread Zlutarch G.
llas <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [PHP] PLEASE HELP! session variable fails to persist!! >Date: Sat, 15 Jun 2002 01:05:47 +0100 > >On Saturday, June 15, 2002 at 12:53:47 AM, Zlutarch G. wrote: > > The session ID is the same for a given sessio

Re: Re[2]: [PHP] PLEASE HELP! session variable fails to persist!!

2002-06-14 Thread Zlutarch G.
Zlutarch >From: Stuart Dallas <[EMAIL PROTECTED]> >Reply-To: Stuart Dallas <[EMAIL PROTECTED]> >To: "Zlutarch G." <[EMAIL PROTECTED]> >Subject: Re[2]: [PHP] PLEASE HELP! session variable fails to persist!! >Date: Sat, 15 Jun 2002 01:32:51 +0100 > >On Sa

Re: Re[4]: [PHP] PLEASE HELP! session variable fails to persist!!

2002-06-14 Thread Zlutarch G.
! >Date: Sat, 15 Jun 2002 01:49:40 +0100 > >On Saturday, June 15, 2002 at 1:42:45 AM, Zlutarch G. wrote: > > I tried your script, but I couldn't get it to work. I guess it has to be > > something wrong with my server configuration? I am using Apache 1.3.14. >I am > &g

[PHP] Japanese entry into MySQL and into emails

2003-10-30 Thread Dave G
need to set "internal encoding", and/or also setting the "character set". My web site is on a virtual host, and I don't know if I have access to make such adjustments. Can someone please explain in beginners terms how do I set up my PHP scripts to enter Japanese kanj

[PHP] Endless 'while' loops?

2003-10-30 Thread Dave G
le" loop would ever stop running. Nothing seems to change $subscriber within the "while" loop's control structure. It doesn't ever say anything like "$subscriber ++1". Nor does $result have anything act upon it which would change it. So to me they both look static, a

RE: [PHP] Japanese entry into MySQL and into emails

2003-11-01 Thread Dave G
dditional comments on the use of mb-send-mail(), but the technical vocabulary is beyond me. Can someone help me tweak this code to successfully send a kanji email? -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Endless 'while' loops?

2003-11-02 Thread Dave G
quot;.$message ."\nThis message was sent to [2]" .$member; mail($member[2], $subject, $mailcontent, $fromaddress); } Why is this not parsing? -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Endless 'while' loops?

2003-11-03 Thread Dave G
misleading! In any case, I very appreciative of the many valuable tips offered, and I believe tightening up the code as suggested by people on this list helped me see my script better and isolate the problem. Many thanks to David, Jay, Hanuska, Leif, and Teren for their comments! -- Chee

RE: [PHP] Japanese entry into MySQL and into emails

2003-11-03 Thread Dave G
L database. -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Japanese character validation

2003-11-08 Thread Dave G
panese language. Optimistically looking forward to seeing more technical discussion on how to accomplish this. -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] multiple table rows into an array, and creating a calendar

2003-11-12 Thread Dave G
that means searching the whole database table roughly 30 times each time the page is accessed, and that can't be right. I'm sure this is better handled with arrays, but I can't quite figure out the logic and the commands. Can anyone help me out with this? -- Cheers! Dave

RE: [PHP] multiple table rows into an array, and creating a calendar

2003-11-12 Thread Dave G
onstruct a for() loop in order to get the results of multiple rows into an array. But that seems unnecessarily complicated. Is there no command to take multiple rows and place them into an array? -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] Why is this code not working?

2003-11-12 Thread Dave G
posed to work. I can't see what's wrong. Am I not declaring the array correctly? Is there some simple error that I'm over looking? What's going on? -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Calendar

2003-11-12 Thread Dave G
http://www.devshed.com/Server_Side/PHP/MilesToGo/page1.html -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Why is this code not working? [SOLVED]

2003-11-12 Thread Dave G
array()? Just thought I should mention this to Jay. Yes, I had been alternating my experiments with mysql_fetch_array() and mysql_fetch_row(), but the results, were exactly the same (or close enough that I don't remember otherwise). So I suspected that the problem lay elsewhere and didn

[PHP] Why would this eregi() function not work?

2003-11-13 Thread Dave G
ROTECTED] If I remove the hyphen, like so: [EMAIL PROTECTED] Then it passes. Looking at my eregi() function, I've included hyphens as a valid character, and escaped them out with slashes in order that they work within the square brackets. Why would this

RE: [PHP] Why would this eregi() function not work?

2003-11-13 Thread Dave G
PROTECTED]', $email) Correct? > 3. I don't think a hyphen is even legal in an email address... If it wasn't, the user couldn't have emailed me to tell me that he wasn't having success in registering on my form. Or could he? -- Cheers! Dave G [EMAIL PROTECTED] --

RE: [PHP] Why would this eregi() function not work?

2003-11-14 Thread Dave G
(!eregi('[EMAIL PROTECTED]', $email) -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session Errors

2003-11-14 Thread G . Zimmermann
s. ; Default is "&". ;arg_separator.output = "&" ; List of separator(s) used by PHP to parse input URLs into variables. ; Default is "&". ; NOTE: Every character in this directive is considered as separator! ;arg_separator.input = ";&" ; T

RE: [PHP] Why would this eregi() function not work?

2003-11-14 Thread Dave G
That's a pretty hefty read, but it looks useful to have around for a reference. Thanks! -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Set time zone

2003-11-16 Thread Dave G
time zones. Lots of information about how to format times, but not very clear about how to make the database take on a time zone. If anyone has pointers on that as well, that would be greatly appreciated. -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MySQL Time Zones, correct codes, and global variable setting (was: Set time zone)

2003-11-17 Thread Dave G
various time zone codes, but I haven't come across any reference on the web which tells me what that list looks like. So, question two is, how can I tell which is the right code to set "TZ" to? "JST"? "Japan"? Your help is much appreciated. -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Compensating for time zones in PHP

2003-11-17 Thread Dave G
pt, but, according to my web hosting service, that is impossible to set for just my site without affecting all the other sites on the same server. So I need to compensate for different time zones between my script and my MySQL server. But I can't figure out how to do that since I do

RE: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread Dave G
This is, I suppose, a completely off topic thread. However, I just read the web page http://www.unicom.com/pw/reply-to-harmful.html and I was completely unconvinced. In all the years that I have belonged to and run mailing lists, I have never experienced any difficulties. Period. Never. It has be

RE: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Dave G
ne of the debate. The idea of an authority on a matter that is incapable of considering alternate viewpoints seems oxymoronic to me. -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Dave G
ver what is the default behaviour. I maintain that the point of a list is to have open discussion, that people join precisely for the advantage of participating in a group, and so the postings should default to going to the group, with secondary options for posting off list. -- Cheers! Dave G [EM

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Dave G
s in it, seems to run contrary to the reasons I joined. That is where I am starting from, it's got nothing to do with anyone's choice of software on either the client or server side. -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Add Reply-To to this list(s) [SOLVED, for me, anyway]

2003-11-26 Thread Dave G
Dave T-G said: > Perhaps you've simply missed the point. By not mandating a certain R-T > header the list software does not force "reply-to-author" but instead > simply allows whatever reply you want. And Jason Wong said: > Simply put, there are mail clients avail

RE: [PHP] Add Reply-To to this list(s) [SOLVED, for me, anyway]

2003-11-26 Thread Dave G
I'm on XP. I would change over to Linux in a heartbeat if Adobe products were available on that OS, but alas, they are not, and the GIMP is, by their own description, not a Photoshop killer. I'm considering the Opera M2 mailer, but it looks kind of immature. -- Cheers! Dav

[PHP] Finding array in MySQL (I'm not asking the right question)

2003-12-02 Thread Dave G
r phrasing which will allow a search engine to help me find it. Can someone please point me in the right direction? -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Finding array in MySQL (I'm not asking the right question)

2003-12-02 Thread Dave G
s to the database as possible. Is that a correct assumption, or am I wrong there? -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Finding array in MySQL (I'm not asking the right question)

2003-12-02 Thread Dave G
x27; "; > } ... is faster than this: > "SELECT email FROM table WHERE id IN ('" . > implode("','",$array) . "')"; ... ? -- Cheers! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] [OT MySQL] Syntax for selecting within a range of time from database

2003-12-04 Thread Dave G
AL is the command I want to use. Is what I'm after something like the following (I put in question marks where I'm not sure how that variable would be formed)? SELECT date(?) FROM table WHERE DATE_ADD(now(?), INTERVAL 72 HOURS) -- Yoroshiku! Dave G [EMAIL PROTECTED] --

RE: [PHP] ereg is failing on this simple test

2003-12-12 Thread Dave G
> Why is this test failing? > If (ereg("^[a-zA-Z0-9\s.\-_']+$", $data)) { I'm very new to PHP, so I may be barking up the wrong tree, but what is that "s" doing after the slash? I don't know if it's the cause of the problem, but as far as I know i

[PHP] PHP and Palm Pilot interaction

2003-12-15 Thread Dave G
know. -- Yoroshiku! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Why won't this form post session variables?

2003-12-21 Thread Dave G
uot;; $insertPPResult = mysql_query($insertPPQuery); unset ($HTTP_SESSION_VARS['$episodeTitle']); unset ($HTTP_SESSION_VARS['$episodePP']); echo 'Your episode, "' . $episodeTitle . '", has been saved. Would you like to add another episode?'; } else { ech

RE: [PHP] Why won't this form post session variables? [SOLVED]

2003-12-21 Thread Dave G
t variables. And so quickly, too! Much appreciated! -- Yoroshiku! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How do I make these two MySQL queries into one line?

2003-12-23 Thread Dave G
uery2 = "SELECT email FROM members WHERE active = yes AND member_id =" . $query1Results But surely there's a way to collapse this into one MySQL line. -- Yoroshiku! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How do I make these two MySQL queries into one line? [SOLVED]

2003-12-24 Thread Dave G
Chris, Thank you! I will look on the net for "left joins", which is a bit new to me, and I'll join a MySQL list, since I can see I'm going to have more MySQL questions in the future. Your reply is much appreciated, especially since it came so fast! -- Yoro

[PHP] Is a while loop the most efficient way to send out multiple emails?

2003-12-30 Thread Dave G
ized information? Is it the mail() command that takes time, or the mysql_fetch_array(), or both? Any suggestions would be greatly appreciated. -- Yoroshiku! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] eregi filter stopping valid email address, part two

2004-01-06 Thread Dave G
er the @ mark. Is it that there are two many periods? -- Yoroshiku! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] eregi filter stopping valid email address, part two

2004-01-06 Thread Dave G
ill look into using them. Thank you for the link. -- Yoroshiku! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] looking for a PHP editor

2001-01-09 Thread Josh G
I went to their homepage, and couldn't find a link to download the actual program, just some example stuff, and it says "coming soon"... Is it out there somewhere and I'm just retarded, or are you mob on a beta list or something??? Gfunk My name was Brian McGee, I stayed up listeni

Re: [PHP] Re-engineering print()

2001-01-10 Thread Josh G
> $s = sprintf("%s", implode("\n", file('template.php'))); Why this??? It's redundant, isn't it? Wouldn't $s= implode("\n", file('template.php')); do it? Gfunk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Exponents

2001-01-10 Thread Josh G
exp(num,pow) i do believe. of course this is off the top of my head Gfunk My name was Brian McGee, I stayed up listening to Queen, When I was seventeen. http://www.gfunk007.com/ - Original Message - From: "Ian LeBlanc" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTE

Re: [PHP] Re-engineering print()

2001-01-10 Thread Josh G
$s = system ("/usr/local/whatever/php/bin/php /path/to/your/file.php"); This should be what you're after. In PHP4 there _may_ be some way to use the inbuilt buffering for that purpouse, but I doubt it. Perhaps this could be added to the language? It would be a good counterpart to eval()... Gfun

Re: [PHP] Re-engineering print()

2001-01-10 Thread Josh G
If the system() doesn't return something, try using the backticks (left of the 1 key) like so: $s = `/path/to/php /path/to/yourfile.php`; Gfunk My name was Brian McGee, I stayed up listening to Queen, When I was seventeen. http://www.gfunk007.com/ - Original Message

Re: [PHP] Re-engineering print()

2001-01-10 Thread Josh G
Cool, didn't think you could do that. Well never mind me then ;-) Gfunk My name was Brian McGee, I stayed up listening to Queen, When I was seventeen. http://www.gfunk007.com/ - Original Message - From: "Matt McClanahan" <[EMAIL PROTECTED]> To: "Kristofer Widholm

Re: [PHP] Dynamic 'left menu's' on site: Like a windows explorersystem???

2001-01-11 Thread Josh G
I have a working javascript system for this, email me anybody if you want it. Note - It's a hulluva lot harder than you think to write Gfunk My name was Brian McGee, I stayed up listening to Queen, When I was seventeen. http://www.gfunk007.com/ - Original Message

Re: [PHP] Dynamic 'left menu's' on site: Like a windows explorersystem???

2001-01-11 Thread Josh G
I've got one you guys can have, email me anybody who wants it. Gfunk My name was Brian McGee, I stayed up listening to Queen, When I was seventeen. http://www.gfunk007.com/ - Original Message - From: "DanO" <[EMAIL PROTECTED]> To: "Php-General@Lists. Php. Net" <[E

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Josh G
- Original Message - From: "Jade Ohlhauser" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Friday, January 12, 2001 1:40 PM Subject: Re: [PHP] mixing HTML and PHP code > IMHO even better is: > input_text('hello', 20, $value); > > that's how that would appear on our site. We

Re: [PHP] APC Alternative PHP Cache Release Announcement

2001-01-11 Thread Josh G
How's it handle scripts that call eval()? Gfunk My name was Brian McGee, I stayed up listening to Queen, When I was seventeen. http://www.gfunk007.com/ - Original Message - From: "George Schlossnagle" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, Janua

Re: [PHP] SMs

2001-01-14 Thread Josh G
yeah you can do that, don't know about other phones, but for nokia you need the cable, a phone with the appropriate plugs (ie a 5xx0 / 6xx0 / 7xx0 / 9xx0 model phone, not a 8xx0 or 3xx0 model), and the nokia data suite or free alternative if they exist for your operating system. Gfunk My

Re: [PHP] logging page views, which method is better????

2001-01-14 Thread Josh G
Another technique is use a quick-and dirty save of one line to a text file, and have a cron script or somehting similar simply run every day or every few hours that reads from your home-made log into a db table, and then empties the file. Gfunk My name was Brian McGee, I stayed up

Re: [PHP] HELP WITH UPLOAD REQUIRED!!!!!!!!

2001-01-15 Thread Josh G
Unlink works on some installations, not others. I think it works on NT but not 95 or perhaps the other way around. Why is this? Unlink is hardly an unsupported system call in windows! Anybody know? Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxica

Re: [PHP] password() ::: and it's return...

2001-01-15 Thread Josh G
I'm not sure I understand the question. What exactly do you mean? Are you talking about returning it from the client already encrypted? Not sure if anybody does that, as JS doesn't have a whole lot of useful encryption stuff in it, and iirc the md5() algorith is rather lengthy. Gfunk -

Re: [PHP] HELP WITH UPLOAD REQUIRED!!!!!!!!

2001-01-15 Thread Josh G
rs to... suffering. - Original Message - From: "Alexander Wagner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 16, 2001 1:01 PM Subject: Re: [PHP] HELP WITH UPLOAD REQUIRED > Josh G wrote: > > Unlink works on some installations, not others

Re: [PHP] password() ::: and it's return...

2001-01-15 Thread Josh G
s to intoxication, intoxication to hangovers, and hangovers to... suffering. - Original Message - From: "Maxim Maletsky" <[EMAIL PROTECTED]> To: "'Josh G'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, January 16, 2001 1:17 PM Sub

Re: [PHP] password() ::: and it's return...

2001-01-15 Thread Josh G
ail me my > passwd in case Ive forgoten it. ICQ.com even does this. > > Chris Lee > Mediawaveonline.com > > > ""Josh G"" <[EMAIL PROTECTED]> wrote in message > 00e401c07f60$f325c2a0$0e01a8c0@swinger">news:00e401c07f60$f325c2a0$0e01a8c0@swinger... &

Re: [PHP] password() ::: and it's return...

2001-01-15 Thread Josh G
PROTECTED] > Subject: Re: [PHP] password() ::: and it's return... > > > sites do though. many sites allow me to click some link and they email me my > passwd in case Ive forgoten it. ICQ.com even does this. > > Chris Lee > Mediawaveonline.com > > > ""J

Re: [PHP] How do I do to update part of a string?

2001-01-15 Thread Josh G
You can always use the simple str_replace or my old fave, $newstring=implode($withthis,explode($this,$oldstring)); replaces all instances of $this with $withthis in $oldstring Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication t

Re: [PHP] < Levels of Access >

2001-01-17 Thread Josh G
Sounds good, I for one would like to see it. Can it revoke permissions? Can I have access to all of /admin but no access to /admin/delete ?? Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suf

Re: [PHP] phpwebhosting.com

2001-01-17 Thread Josh G
Strewth! that's 4g/second at full strength! I'd say that's a fair bit more than all the links out of my whole bloody country! Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering.

Re: [PHP] Quotes and Values

2001-01-18 Thread Josh G
True, but iirc it's not xml compliant, and might not be a good habit, and it then leaves you without the option to use it in JS calls, like: echo "" Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers t

Re: [PHP] Where is information about Forms?

2001-01-18 Thread Josh G
they're automagically converted to global variables. becomes $foo on the page you're submitting to. Nice, wot? Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering. - Original Mes

Re: [PHP] date problem: some months have 5 weeks... how I discover which ones?

2001-01-18 Thread Josh G
can't think of exactly the math, but get the weekdayday of the 1st, divide how many days in the month/7, and it should be easy enuff. use a combination of date() and mktime() to get the first day of the month methinks. Gfunk - http://www.gfunk007.com/ I sense much beer in you.

Re: [PHP] Announcement: Smarty - the PHP compiling template engine

2001-01-18 Thread Josh G
Nice... has a lot of cool ideas in it, a few of which I'm also working on for the templating part of a content management system I'm working on in my spare time (like compilation, except i'm going to do it at save-time, not 1st run-time, since i control the publishing functions). Gfunk -

Re: [PHP] [php] - alphabetizing

2001-01-21 Thread Josh G
Just build an assosciative array like so $arr["person1"] = "string1"; $arr["person2"] = "string2"; $arr["person3"] = "string3"; $arr = asort($arr); this should do what you're looking for. Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to

Re: [PHP] What "PHP" Stands For....

2001-01-22 Thread Josh G
Yeah, it used to be called PHP/FI for Personal Home Page / Form Interpreter I do believe. Not sure about the "Interpreter" but I think that was it. Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to

Re: [PHP] Turning off PHP for one directory with apache

2001-01-22 Thread Josh G
Instead of: > Action application/x-httpd-php-source "/php4/php.exe -s" > AddType application/x-httpd-php-source .php4 .php .inc .htm why not: > Action application/x-httpd-php-source "/php4/php.exe /path/to/showsource.php " > AddType application/x-httpd-php-source .php4 .php .inc .htm and using

  1   2   3   4   5   6   7   8   9   10   >