RE: [PHP] Stop neurotic posting

2003-08-08 Thread Jennifer Goodie
Not to beat a dead horse, but... From two separate responses: And as for Google, I don't feel like I have time to wade through pages and pages of irrelevant links until I find what I'm looking for when I have a better resource right here. I've actually learned quite a few useful things

[PHP] Help with Mod mathematical function

2003-08-08 Thread Dean Baldwin
Hi, I am porting a vb application across to php but have come up against a small problem. The code uses the Mod calculation however I cannot find any Mod in php. The line of code that uses it looks like: Data = (index Mod 16) Anybody have any ideas how I recreate this in php? Both data and

[PHP] Attention everyone 0-t

2003-08-08 Thread Ryan A
Hello everyone, Leave [PHP] Stop neurotic posting alone for some time and listen up, for some reason over 90% of all posters to this list has been blacklisted by spamcop... I am pretty sure that not everyone (if anyone is spamming) but i think that some son of a stinking .. has used our email

Re: [PHP] Correct Coding

2003-08-08 Thread Jim Lucas
Could you explain a little better why this would make things better? I don't understand how this would improve things. Jim Lucas - Original Message - From: Curt Zirzow [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 07, 2003 10:28 AM Subject: Re: [PHP] Correct Coding *

Re: [PHP] Attention everyone 0-t

2003-08-08 Thread skate
any ideas on what we can do about it? set the server up to change the sent from email address to [EMAIL PROTECTED] this'll not only stop the spambots and spam blockers picking up on individual email address', but also means that when people reply to all, that you don't get 2 emails in

RE: [PHP] Still can't pass variable through url

2003-08-08 Thread Joe Harman
Jack... Can you paste your code into an email and post it -Original Message- From: Jack [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 2:30 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] Still can't pass variable through url Dear all I had set the

RE: [PHP] Stop neurotic posting

2003-08-08 Thread Jay Blanchard
[snip] This is a very busy list, over 100 message in a quiet day and most people are helpful and decent, don't mind reading and learning. Unfortunately there are some who mostly post stuff like 'read the manual' and other shit like that. Stuffing e-mailboxes with such garbage day after day

Re: [PHP] moderator: has anything on this list changed?

2003-08-08 Thread Curt Zirzow
* Thus wrote Justin French ([EMAIL PROTECTED]): Hi, For over a year now, I've been subscribed to this list through my main email account. My ISP has anti-spam stuff on the server which prepends the subject of anything it considers spam with 'SPAM: '. As of 4am this morning (Melb,

Re: [PHP] Stop neurotic posting

2003-08-08 Thread Curt Zirzow
* Thus wrote Lucas Lain ([EMAIL PROTECTED]): Please ... put in the Subject -- [OFF-TOPIC] ... i don't want to see this stupid discussion ... Hardly OT IMO. It is a discussion on methodolgy of helping people, and some good issued have been addressed, constructive and destructive. If the

Re: [PHP] setting function variables

2003-08-08 Thread Mark
Use a database abstraction class (ADODB, Pear, or something from phpclasses.org). You're trying to assign a variable to a function's actions, when you can only assign the variable to teh ooutput of the function. --- Micah Montoy [EMAIL PROTECTED] wrote: I am trying to specify a single php file

RE: [PHP] Downloding files once

2003-08-08 Thread Boaz Yahav
Can you fake a referrer by say, using fsockopen() and sending your own headers? -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 4:57 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Downloding files once * Thus wrote Boaz Yahav ([EMAIL

Re: VOT: [PHP] Hitler and Recent Threads

2003-08-08 Thread Mark
--- CPT John W. Holmes [EMAIL PROTECTED] wrote: From: Mark [EMAIL PROTECTED] And as they say, Never argue with a fool. People will not be able to tell the differnce. I thought it was Never argue with an idiot. They drag you down to their level and beat you with experience :) Now

Re: [PHP] Still can't pass variable through url

2003-08-08 Thread John Manko
and. Joe Harman wrote: ?php $year=1999; $month=march; echo a href=\http://www.thingamajigger.com/index.php?year=$yearmonth=$month\; yeah this is the link/a; ? -Original Message- From: John Manko [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 2:47 AM To: Martin

Re: [PHP] Flash Actionscript List or Forum

2003-08-08 Thread skate
Hello all, I've been doing PHP for a little while now... I am starting learn Action Script now... and having trouble with global variables and functions... does anyone know where I find a good list or forum for action script? flashkit.com is pretty good. i get a lot of resources from

RE: [PHP] Still can't pass variable through url

2003-08-08 Thread Martin Towell
This _might_ be causing you problems... $month=march; strings should be quoted (unless you've define(march, march)'ed it...) $month='march'; Martin -Original Message- From: Joe Harman [mailto:[EMAIL PROTECTED] Sent: Friday, 8 August 2003 4:55 PM To: [EMAIL PROTECTED]

Re: [PHP] How to run PHP from a MySQL DB

2003-08-08 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Wed, 6 Aug 2003 at 15:17, lines prefixed by '' were originally written by you. I have a database of code pages and was wondering if their is a way to actually run the code from the Database as if it was part of a page. Thanks, Jeremy

RE: [PHP] postmaster@hanmir.com

2003-08-08 Thread Martin Towell
Yep - I did with me previous email And I guess I'll get one with this email too :/ -Original Message- From: Joe Harman [mailto:[EMAIL PROTECTED] Sent: Thursday, 7 August 2003 4:43 PM To: [EMAIL PROTECTED] Subject: [PHP] [EMAIL PROTECTED] Hey is every one getting a returned message from

Re: [PHP] shell_exec

2003-08-08 Thread Rodney Green
Shell side: - must be readable and executable by user (apache or perhaps everyone) - suid bit work only for programs, not scripts I think - shell can only execute cmds for which it's effective user has sufficient permissions Try this (as root on webserver), if you can login as apache.

[PHP] APACHE/PHP - buttons don't work

2003-08-08 Thread Miguel Ribeiro
Hi, I've recently upgraded my webserver for apache 2.0.47 with php 4.3.2 on a solaris 9 box My problem is... the buttons on the php pages don't work and I can't figure why this is happening... Apache compiled like: ./configure --prefix=/opt/apache

Re: [PHP] setting function variables

2003-08-08 Thread Micah Montoya
Ooops. Can't believe I overlooked that. Thanks everyone for your input. Its up and running now. - Original Message - From: Mark [EMAIL PROTECTED] To: Micah Montoy [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, August 07, 2003 2:36 PM Subject: Re: [PHP] setting function variables

[PHP] RE: Downloding files once

2003-08-08 Thread Boaz Yahav
passwords can be kept encrypted with mod_auth with no problem. -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 8:04 PM To: Boaz Yahav Cc: [EMAIL PROTECTED]; Igal Rubinstein; Matt Wade Subject: Re: Downloding files once Hello, On

RE: [PHP] PDF Thumbnail with PHP?

2003-08-08 Thread Jay Blanchard
[snip] Does anyone know if there is a way to generate a thumbnail of the 1st page of a PDF document using PHP. I have an application that archives PDF files, beeing able to generate small preview images of the documents would be really cool :) [/snip] This may be just what you are looking for

[PHP] Re: [PHP-DB] Sorting issue

2003-08-08 Thread CPT John W. Holmes
Jeff [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Why would a mysql db think that 55 was greater than 14000. I have several headings that display sql data under them, when you click on the heading, it sorts that section (descending/ascending), but it only seems to be looking at

[PHP] preventing output dump of passthru()

2003-08-08 Thread Chris W. Parker
Hello, Trying to prevent the output dumping of passthru() and instead store the output in a variable. I read an article that suggested this: ob_start(); passthru(command); $output = ob_get_contents(); ob_end_clean(); But that didn't work. Is there *ANY* way to achieve what I want? Thanks,

Re: [PHP] OO function overloading?

2003-08-08 Thread Greg Beaver
Indeed it is a hack, but not for PHP 5, the extension has become part of the core, and does not require that odd little overload() call :) Greg Jean-Christian Imbeault wrote: Greg Beaver wrote: This statement isn't entirely correct, overloading is possible with the overload extension.

Re: [PHP] FDF support in RedHat

2003-08-08 Thread Cesar Cordovez
Did it. Same error. =( Jay Blanchard wrote: [snip] configure: error: Fdftk.h not found, please install it again. [/snip] I am proud of you! Now type locate fdftk.h When you locate it move it to /usr/local and go again -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] AOL Email client

2003-08-08 Thread php list
I am using php mail and setting all my $headers info to show From:, To:, etc. It work perfectly on my computer. I use MS Outlook. I am doing this for a client who received his email via his aol account. When he receives the email, the email comes in with Unknown Sender. Is there issues with this?

Re: [PHP] detecting referer

2003-08-08 Thread Robert Cummings
You can get referrer information from the following: $_SERVER['HTTP_REFERER'] This isn't foolproof though since the user can usually set in their browser whether to have this information sent. Cheers, Rob. On Thu, 2003-08-07 at 11:59, Creative Solutions New Media wrote: Hello, Bit of a

[PHP] Open Source Software Survey

2003-08-08 Thread Neil Hambleton
Dear PHP Contributors, I am studying for a Master's degree with Henley Management College in the UK, and in the past have used a variety of Open Source Software. As part of my course I am conducting a survey in an attempt to identify the critical success factors for Open Source projects. If you

RE: [PHP] Re: suggestion on php-editor?

2003-08-08 Thread Joe Pemberton
www.crimsoneditor.com A great, free editor for windows with syntax highlighting for many languages, php included. -Original Message- From: rush [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 12:58 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: suggestion on php-editor? Louie

RE: [PHP] trying to match the front and end...

2003-08-08 Thread Ford, Mike [LSS]
On 08 August 2003 17:39, Dan Joseph wrote: Hi, In a nutshell, what I want to do is chop off the front and the back. Example: I have: 1234567890 I want: 456 I have a start num and an end num. start = 123, end = 7890. This is working fine as I have it above,

RE: [PHP] dev style guide

2003-08-08 Thread desa15
The Hungarian notation was developed by a Hungarian programmer from microsoft. I use hungarian notation in visual c++ but in php ??? If you have more information search in http://msdn.microsoft.com have examples and the complete and protability list, to other langauages such vb Un saludo, Danny

Re: [PHP] Edit a page in PHP

2003-08-08 Thread John W. Holmes
Jeremy Darling wrote: This is driving me nuts. I know it can be done, cuz I've seen it done before, but I can't figure it out. I would like to have a php file that allows me to edit an HTML/PHP file thru my browser. Currently I have something that looks like: TextArea ?PHP $filename =

[PHP] Old version of PHP

2003-08-08 Thread Dan Phiffer
Hello, I'm working on an ongoing project that depends on a shared webserver running an old version of PHP (4.1.2 I believe). Is there any good reason to stick with an older version of PHP, or might it be a valid suggestion to have it upgraded to something a bit more recent? I have a notion that

RE: [PHP] Hitler and Recent Threads

2003-08-08 Thread Chris W. Parker
Jay Blanchard mailto:[EMAIL PROTECTED] on Thursday, August 07, 2003 9:25 AM said: LOL Maybe we shoud start requiring tips! ARRGGH! NO!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mcrypt Blowfish encryption and Chilcat

2003-08-08 Thread Stephen Holly
Hi all. I was wondering anyone had heard any issues regarding mcrypt Blowfish encryption and Chilcat?? I presently have a system with a server implemented in php using mcrypt-2.4.x and clients who interact with it sending and receiving blowfish encrypted data. I am unable to touch the clients

RE: [PHP] Re: Password storage system

2003-08-08 Thread Daevid Vincent
Thanks, but I guess I forgot to mention it should be web-interface... http://passwordms.sourceforge.net/index.php For anyone wanting to look. -Original Message- Try PMS: Password Management System. I believe it can be found on sourceforge. -- PHP General Mailing List

Re: [PHP] Re: Parse error not understood

2003-08-08 Thread Ivo Fokkema
Miles Thompson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yes, I'm top posting, pls forgive. This is a situation where an editor which has built-in brace matching really helps - if in the midst of looking one remembers to use it. Another tip, although it probably wouldn't help

Re: [PHP] Problem sortiing dyn query

2003-08-08 Thread John W. Holmes
Mark wrote: $query_Recordset1 = sprintf(SELECT * FROM sti_tracking ORDER BY %s %s,$reSort_Recordset1,$direction_Recordset1); I'm curious. Is there an advantage to using the above format, rather than $query_Recordset1 = SELECT * FROM sti_tracking ORDER BY $reSort_Recordset1

Re: [PHP] AOL Email client

2003-08-08 Thread Miles Thompson
At 07:57 PM 8/7/2003 -0500, php list wrote: I am using php mail and setting all my $headers info to show From:, To:, etc. It work perfectly on my computer. I use MS Outlook. I am doing this for a client who received his email via his aol account. When he receives the email, the email comes in with

Re: [PHP] shell_exec

2003-08-08 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Shell side: - must be readable and executable by user (apache or perhaps everyone) - suid bit work only for programs, not scripts I think - shell can only execute cmds for which it's effective user has sufficient permissions

Re: [PHP] Max script size

2003-08-08 Thread Jeff Held
Sorry, in terms of PHP error no. I get a page cannot be displayed/DNS error. It happens instantly...in fact, not 1 line of script exe. Jeff Held Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Max script size

2003-08-08 Thread Jeff Held
Thanks! Yes. PHP versions differnt. Ini's Diffiernt, don't want to to match those. I assmue the reason is because of a differnt ini setting...I just can't find it. I looked for a setting that may set a limit but didn't find any. Jeff Jay Blanchard [EMAIL PROTECTED] wrote in message

Re: [PHP] Formatting an ascii characters in php?

2003-08-08 Thread Scott Fletcher
Thanks for the tips. I did look into this webpage just the same one as you provided in the link before I post a message in this newsgroup. That webpage said, ascii2ebcdic() is an Apache-specific function which is available only on EBCDIC based operating systems (OS/390, BS2000). Problem is I

[PHP] Re: PHP Newbie needs assistance to highlight a specific item in a frame window

2003-08-08 Thread bill
Long description, so I'm not sure exactly what you're doing, so I'll restate my understanding. You have a frameset with multiple pages. Pages are called via PHP. Each page may be the same but may need to highlight a different name. You want to highlight using CSS and IDs. At heart, here's my

Re: [PHP] where are my errors?

2003-08-08 Thread David T-G
John, et al -- ...and then David T-G said... % ... % Does that show up in phpinfo() output? Well, apparently so, and apparently it is. I specifically called phpinfo() from the require()d file to make sure I'd pick up the value at the time rather than just what's in php.ini and it seems that's

RE: [PHP] Extracting Compressed Files

2003-08-08 Thread Matt Palermo
Do you happen to know where I can find some examples or sample code for these? The exec function on php.net didn't go into much detail about extraction from compressed files. Anyone know of any good references? Thanks, Matt -Original Message- From: Jason Sheets [mailto:[EMAIL

RE: [PHP] Problem occurs when included file includes anther file.

2003-08-08 Thread cyz
Well,if so,why ?php require 'inc2.php';? works? I didn't change the default include_path.Sure that '/inc' isn't in the include_path.But it just works. You see,the include_path .:/usr/local/lib/php refers to the current dirctory where the file locates and the PEAR directory.The focus is

RE: [PHP] Still can't pass variable through url.. whoops

2003-08-08 Thread Joe Harman
YEPPERS.. You're right -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 2:59 AM To: 'Joe Harman'; [EMAIL PROTECTED] Subject: RE: [PHP] Still can't pass variable through url This _might_ be causing you problems...

Re: [PHP] Problem occurs when included file includes anther file.

2003-08-08 Thread Christophe Chisogne
nc01.php from demo.php: ok in root/./inc01.php Indeed, the PHP doc should be updated on that point. I do agree with you, after struggling a while for the same kind of problem :-) But I've got all explanations below. Nicholas Robinson wrote: The directory structure is as follows: |-- demo.php |--

[PHP] Reading excel files

2003-08-08 Thread Jackson Miller
Is there a way to read excel files for parsing with PHP? I see there is a PEAR package for writing excel files, but I want to be able to parse .xls files. (Please no comments about comma-delimited or tab-delimited exports, I am doing that too). Thanks in advance, -Jackson -- PHP General

Re: [PHP] bug in code - can't find it!

2003-08-08 Thread Marek Kilimajer
Is it realy so? I remember someone noting on this list it also work if short tags are off. I have never tested it and I'm not going to restart our server now, but I will try it at home. John W. Holmes wrote: AciD wrote: just a little point; u can replace ?echo $search_result2[a.retired_flag]?

Re: [PHP] Old version of PHP

2003-08-08 Thread Curt Zirzow
* Thus wrote Ford, Mike [LSS] ([EMAIL PROTECTED]): (There are also words in English derived from Greek which have singular ending -on and plural ending -a -- notably criterion/criteria. Microsoft doesn't understand this, and gets it tooth-jarringly wrong all over Excel and

Re: [PHP] Building an XML Parser Class

2003-08-08 Thread Evan Nemerson
Try getting rid of the quotes around $this-startElement, or changing them to double quotes. If you don't understand why, php.net/language.types.string should make for an exhilarating read :) On Thursday 07 August 2003 12:40 pm, Donald Tyler wrote: Hi, I am trying to create a Class that

RE: [PHP] FDF support in RedHat (make error)

2003-08-08 Thread Jay Blanchard
[snip] For me this is a very intelligent question (and advanced too) because I have no idea of linux or compilers. (or as a metter of fact, what is a .h file). [/snip] You'll note that the library file began with lib. The files are C or C++ files witha .h being a header file for the compiler.

Re: [PHP] htmlspecialchars() and HTML code

2003-08-08 Thread Thaddeus J. Quintin
Thanks everybody! Looks like I was just thinking about the problem too hard. Thaddeus John W. Holmes wrote: Thaddeus J. Quintin wrote: CPT John W. Holmes wrote: --SNIP-- Try this: textarea name=textThis is lt;somegt; text/textarea If you submit that text and then print

Re: [PHP] bug in code - can't find it!

2003-08-08 Thread Chris Sherwood
silly me upon further looking INPUT TYPE=checkbox NAME=? echo $search_result2['user_cd'];? VALUE=? echo $search_result2[a.retired_flag];? ?if ($search_result2[a.retired_flag] == 1) echo CHECKED; ? ?echo $search_result2[a.retired_flag]? - Original Message - From: Amanda McComb [EMAIL

Re: [PHP] preventing output dump of passthru()

2003-08-08 Thread daniel
the whole idea of passthru is to output the stdout i'd use exec and the stdout is stored as an array Hello, Trying to prevent the output dumping of passthru() and instead store the output in a variable. I read an article that suggested this: ob_start(); passthru(command); $output =

Re: [PHP] Still can't pass variable through url

2003-08-08 Thread andu
On Fri, 8 Aug 2003 14:30:22 +0800 Jack [EMAIL PROTECTED] wrote: Dear all I had set the register_global=on and magic_quotes_runtime=off already, You don't need register_global=on for this, use $year = $_GET['year']; $month = $_GET['month']; ...and you want to try

Re: [PHP] WYSIWYG editor for PHP

2003-08-08 Thread Bix
I use dreamweaver in live data mode quite often, really works a treat! Set up a a site and in the testing server, just set it as /beta or the like, then edit your script, and run it in live data and you can feed it post/get/cookie data on the fly. Jay Blanchard [EMAIL PROTECTED] wrote in message

[PHP] RE: [PHP-WIN] Still can't pass variable through url

2003-08-08 Thread Svensson, B.A.T. (HKG)
[...] when i click my hyperlink page.php?year=$year?month=$month, it [...] if the same case apply to php4.04, then there is no problem at all! It's rather a mysterium why it worked at all. How did you manage to get this working on php4.04? (It should not work!) -- PHP General Mailing List