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

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/

Re: [PHP] grabbing variable from bottom to top

2003-08-03 Thread Jeff Harris
ount: $count.'; This code is probably very browser dependant, so YMMV. Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to this message should co

Re: [PHP] Cookies on WinXP

2003-07-31 Thread Jeff Harris
tion of 0, that will delete the cookies when the brower is closed. 3rd, you know that you can't pick up the cookies in the same page where they are set. try letting some defaults persist to track downm errors: setcookie ("aa_host", $cookhost,time()+3600); Jeff -- Registered Linux user

Re: [PHP] Re: include help please

2003-07-31 Thread Jeff Harris
ot; That will also help incase files.inc.php is inadvertently setting varables incorrectly. Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to

Re: [PHP] PHP or CGI in C/C++

2003-07-31 Thread Jeff Harris
there are some other speed considerations before getting to the output. In this case, you'd have to ask yourself if the speed picked up on the output is worth the time difference in the development cycle. Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jha

Re: [PHP] tags to lowercase

2003-07-30 Thread Jeff Harris
| |On Wednesday, July 30, 2003, at 02:53 PM, Jeff Harris wrote: | |> On Jul 30, 2003, "Curt Zirzow" claimed that: |> |> |* Thus wrote Justin French ([EMAIL PROTECTED]): |> |> Hi all, |> | |> |hello. |> | |> |> |> |> has anyone developed or know of a f

Re: [PHP] Simple date question

2003-07-30 Thread Jeff Harris
by using DATE_ADD() check http://www.mysql.com/doc/en/Date_and_time_functions.html Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to this

Re: [PHP] Querying a form

2003-07-30 Thread Jeff Harris
On Jul 30, 2003, "Gerard Samuel" claimed that: |Im looking for links to tutorials, or if someone can post code here, |where php |can be used to query a form, so that I can retrieve its results. |Thanks for any pointers... How about some of these? http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF

Re: [PHP] Re: debuging and getting mor information about failures

2003-07-30 Thread Jeff Harris
ething and php is only going to output a blank page with no error information" error that I get way too often. Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9

Re: [PHP] Strip Numbers

2003-07-30 Thread Jeff Harris
ft of |the two 9s... is there an easy way to do that | |Joe Harman | |http://www.HarmanMedia.com | Since a problem should be stated in its basic and simplest terms, it appears that you want to simply divide the number by 1 and take the integer portion: $number=floor($passed/1); Jeff

Re: [PHP] tags to lowercase

2003-07-29 Thread Jeff Harris
On Jul 30, 2003, "Curt Zirzow" claimed that: |* Thus wrote Justin French ([EMAIL PROTECTED]): |> Hi all, | |hello. | |> |> has anyone developed or know of a function to convert all tags to |> lowercase, but still preserves the contents of the tags and the content |> of the attributes of the tags?

Re: [PHP] Script Execution Time

2003-07-28 Thread Jeff Harris
On Jul 29, 2003, "Petya A Shushpanov" claimed that: |stop(); |echo round($timer->elapsed(),5); |?> | |-- |Petya A Shushpanov | Or, you could use http://pear.php.net/package-info.php?package=Benchmark -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg

Re: [PHP] List Problems

2003-07-28 Thread Jeff Harris
m also getting bounce backs from [EMAIL PROTECTED] Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to this message should conform to RFC 1855.

RE: [PHP] replacing & but not special chars

2003-07-28 Thread Jeff Harris
eparator.output, PHP_INI_ALL; arg_separator.input, PHP_INI_SYSTEM|PHP_INI_PERDIR) setting and in code, then you should be able to use & OR, change your & to something else, like ; before you send it, then change it back when you $_GET it. Jeff -- Registered Linux user #304026. "lynx -so

Re: [PHP] Re: Set Cookie in PHP and call with Perl

2003-07-28 Thread Jeff Harris
as just asked by someone else, and don't send UCE, and aren't a troll, to more helpful. Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Resp

Re: [PHP] Parsing PHP

2003-07-27 Thread Jeff Moore
On Saturday, July 26, 2003, at 03:06 AM, Nikhil G. Daddikar wrote: I am using PHP to develop and web app. The app also has a scripting language for the *end user*. I was thinking if I could expose a very simple subset of PHP to them (foreach, if-then-else, variable assignments and comments) an

Re: [PHP] Some SESSION Vars not Registering

2003-07-25 Thread Jeff Stillwall
ah - seems similar, but not quite the same. You (Curt) were able to execute my code without problem. My code on my servers failed 100% of the time, whereas the bug in the report only showed up intermittently. Thank you both again! -- Jeff Stillwall -- PHP General Mailing List (http://www.php

RE: [PHP] Link acting as a submit button

2003-07-24 Thread Jeff Harris
tt When you converted it to PHP did you include the tags? I received a similar error until I added the tags. Other than that, try adding a name value to the form and change 'document.forms[0].action = where;' to 'document.form_name.action = where;' Except fo

Re: [PHP] PHP webpage like MySQL, PART 2

2003-07-24 Thread Jeff Harris
t; is a MySQL reserved keyword, so if it is the table name, it should be enclosed in backticks: http://www.mysql.com/doc/en/Reserved_words.html Jeff Harris -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC

Re: [PHP] Include Problems

2003-07-24 Thread Jeff Harris
ww.php.net/language.variables.scope Jeff Harris -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to this message should conform to RFC 1855. -- PHP Genera

Re: [PHP] just looking for some opinions...

2003-07-24 Thread Jeff Harris
r - 128; Otherwise, as the released enlisted man I am, I'd just follow the Captain. Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to t

Re: [PHP] Some SESSION Vars not Registering

2003-07-24 Thread Jeff Stillwall
und (I've already updated my code). It's nice in that it let's me keep the keys that match my database columns. However, it's really just that: a workaround. I'd still love to know why I can't register certain variables and have them stick outside of that one functi

Re: [PHP] closing windows

2003-07-23 Thread Jeff Harris
age as the php. | |Jon | Since JavaScript is client side, and PHP is serverside, you would blend Javascript and PHP the same way you blend HTML and PHP. \n"); print("window.close();"); ?> Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.u

Re: [PHP] Some SESSION Vars not Registering

2003-07-23 Thread Jeff Stillwall
ilstop cocity, costate, cozip, cotype, jobtitle, status, dateadded dateapproved, lastlogin Anything illegal about any of those names that is making PHP go nutty? I'm assigning them in that order, and out of those, only 6 stay set (loggedIn, uid, status, dateadded, dateapproved, lastlo

Re: [PHP] Some SESSION Vars not Registering

2003-07-23 Thread Jeff Stillwall
SION[$key] = $value; } } Thanks to the echo statements, I see all 31 getting assigned. However, when I exit this function, and var_dump($_SESSION), only 6 are assigned! Wrackingmybrain. -- Jeff Stillwall -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Some SESSION Vars not Registering

2003-07-23 Thread Jeff Stillwall
"Ow Mun Heng" wrote: > I'm new but.. aren't you also supposed to register the session?? The code I posted was just a single function. I am calling session_start() at the head of the page. Thanks, though. -- Jeff Stillwall -- PHP General Mailing List (http://www.p

Re: [PHP] Some SESSION Vars not Registering

2003-07-23 Thread Jeff Stillwall
part of an included file (via 'require'). Would that change anything? I've done this before also - never had a problem until now! -- Jeff Stillwall -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] FTP Synching

2003-07-22 Thread Jeff Harris
On Jul 22, 2003, "jwulff" claimed that: |How would I download any new files on a remote machine to my local one (in a |specific folder) via ftp? You do realize that this is like subscribing to a automotive mail list and asking how to buy groceries. I would start by checking the man page for wget

Re: [PHP] Backing up: Database and scripts...

2003-07-22 Thread Jeff Harris
On Jul 22, 2003, "Michael Smith" claimed that: |Hi, | |So I can create the files, move them, etc. to backup my database and a |couple of directories, but how do I create a gzip file of that and send |it to the user? I need to basically execute a command to gzip a couple |of files/directories... I

Re: [PHP] Some SESSION Vars not Registering

2003-07-22 Thread Jeff Stillwall
ever had a problem with sessions before. But I'm guessing it's my code, as I can replicate the behavior on three different installations of PHP/Apache. -- Jeff Stillwall -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Some SESSION Vars not Registering

2003-07-22 Thread Jeff Stillwall
nction, I see that $userArray is populated correctly. Also, a var_dump($_SESSION) at the end of the function shows all of the session variables that I expect. It's when I leave this function that certain $_SESSION vars disappear. Yup - weird. Thanks. -- Jeff Stillwall -- PHP General

Re: [PHP] REDIRECT STATUS CGI

2003-07-22 Thread Jeff Harris
evarticles.com/forum/printthread.php?threadid=2518 http://www.php.net/security.cgi-bin Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to this mess

Re: [PHP] changing the name of a variable by another variable.

2003-07-22 Thread Jeff Harris
me a clue? | |TIA | |Tony | Would an array be too difficult to implement into your code? Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to this

Re: [PHP] OK

2003-07-22 Thread Jeff Harris
On Jul 22, 2003, "Rausch Alexandru" claimed that: |Sorry, i didn't itent to be a spam, believe me. But i don't know how to |do this aplication | In that case, you might want to start with something a bit less ambitious, maybe learning to wrap your mail, and some tutorials? http://www.devshed.com/

[PHP] Some SESSION Vars not Registering

2003-07-22 Thread Jeff Stillwall
the function for $_SESSION, I see all session vars are set within the scope of the function. Once outside of the function, some stay set, some do not. I've read the chapter in the manual about variable scope, and it seems pretty clear that $_SESSION is a superglobal, and I do not have to dec

[PHP] RE: [PHP:OT] IE Issues

2003-07-22 Thread Jeff Harris
or block-level element, including another DIV." HTHemaiat (... even more and in addition to) Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Re

[PHP] backtick operator and zombie processes

2003-07-21 Thread jeff
When using the backtick operator: $rsh = split("\n", `rsh 10.0.0.2 sysstat -c 5 -xs 5 2>&1 /dev/null 2>&1 nagios1484 0.7 1.2 6416 3176 ?S15:44 0:00 \_ /usr/local/bin/php /home/jeff/at.php nagios1537 0.0 0.3 1952 848 ?

Re: [PHP] RE: new browser window in php

2003-07-18 Thread Jeff Harris
On Jul 18, 2003, "Jeffry Lester" claimed that: |How do I start a new browser window when using print in php? | |Jeffry Lester |[EMAIL PROTECTED] Not quite sure how this is PHP, but you might want to check here: http://www.htmlgoodies.com/tutors/new_win.html I guess one way of doing it would be s

Re: [PHP] Passing $Vars between 2 php pages

2003-07-16 Thread Jeff Harris
http://www.php.net/manual/en/ref.session.php The only way that I can see of passing a variable from page to page without using cookies or URI would be to make sure that only one person can access the entire site at one time and use either a database or a file on the server. Jeff -- Registered

RE: [PHP] HTTPS POST without user/client intervention

2003-07-16 Thread Jeff Harris
p.net/manual/en/function.fsockopen.php | |Or CURL | |http://www.php.net/manual/en/ref.curl.php | Another option for you is to ouput a blank page with just a form pointing where you need it to, with hidden inputs, and at the end of the page or in a , document.form.submit(); Assuming your client has JavaScrip

Re: [PHP] multiple databases

2003-07-15 Thread Jeff Harris
27;Joe Momma'"); ?> The key is either to use DB.php and define different hooks, or to use the second argument of your _query function. Jeff Harris -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint

[PHP] PHP & Perl information sharing

2003-07-14 Thread Jeff Harris
7;m looking for what people think will generate easier code to maintain and expand. Jeff Harris -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to this mess

RE: [PHP] SquirrelMail + Writable Directories

2003-07-14 Thread Jeff Harris
|-Original Message- |From: Jasper Bryant-Greene [mailto:[EMAIL PROTECTED] |Sent: Monday, July 14, 2003 12:14 AM |To: [EMAIL PROTECTED] |Subject: [PHP] SquirrelMail + Writable Directories | |My question is simple - I want to install Squirrelmail on my webserver, |but I can't chmod or chown t

Re: [PHP] Logging PHP Execution time to a file?

2003-07-14 Thread Jeff Harris
nt the wheel. The pear repository is filled with many packages, hopefully more to come, and the Benchmark Package is one of them. require_once "Benchmark/Timer.php"; $timer = new Benchmark_Timer; $timer -> start(); // Plenty of code... $timer -> stop(); print("\n"); Jeff -

Re: [PHP] Can PHP Build XML Pages?

2003-07-14 Thread Jeff Harris
(" \n"); print (" {$_POST['venuename']}>\n "); print (" \n"); print ("\n"); ?> Lay out your xml document first, then plug in the form variables. Make sure you use that header() command, too. Jeff Harris -- Registered Linux user #304026. "l

Re: [PHP] Turning string into a table

2003-07-14 Thread Jeff Harris
On Jul 13, 2003, "zavaboy" claimed that: |Is there a way to make for example: | |// (Column info) |// String 1: |[This column holds |[Col 1] |[Col 2]] |[This second column holds |[Col 3] |[Col 4]] | |// (Row) |// String 2: |[Col 1 (row1)] |[Col 2 (row1)] |[Col 3 (row1)] |[Col 4 (row1)] | |// (Row)

Re: [PHP] Storing SQL Queries for Reuse in Apps

2003-07-11 Thread Jeff Harris
On Jul 10, 2003, "Jacob C" claimed that: |Hello All, | |I just want to survey the list and see what kind of solutions people are using |for the storage and reuse of SQL queries. | |Right now I am working on an application that has native SQL queries as well |as custom queries that can be added by

Re: [PHP] numbers to text

2003-07-11 Thread Jeff Harris
On Jul 11, 2003, "Pete Morganic" claimed that: |Anyone know of a class or function that converts numbers to readable text | |eg inputing the number would output text as in | |120 = one hundred and twenty |3600 = three thousand six hundred | | |tia | |pete | How about http://pear.php.net/package-i

Re: [PHP] How to hide url on a php link NOT post...

2003-07-10 Thread Jeff Harris
On Jul 10, 2003, "Joey" claimed that: |How can I hide this link so value can't be changed? |I don't want to change anything at the server level, and its not from a |form so I cant do a post -vs- a get. | |http://www.abcd.com/popup_SearchRepSet.php?searchby=cust_no&search=1&value=WOR032 | |Thanks !

Re: [PHP] passing commands via ssh

2003-07-09 Thread Jeff Harris
who owns the script. \n"); ?> Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to this message should conform to RFC 1855. -- PHP Ge

RE: [PHP] XML

2003-07-08 Thread Jeff Harris
the PHP engine. The weather magnet uses XML to transmit information to your PHP script, which parses it and produces the HTML output. My page asks your script for some information, and it's returned as well-formed XML. As far as using an XML file to act as a database and your parser to create

Re: [PHP] Re: NEW SPAMMER -> [PHP] New Krysalis version released

2003-07-08 Thread Jeff Harris
I apologize. | |Alexandru | I've just started poking around with XML. Does anyone know anything that I might use to learn more about it? Optimally, it would be available in the pear repository, and have plenty of documentation. Jeff -- Registered Linux user #304026

Re: [PHP] New to PHP

2003-07-07 Thread Jeff Harris
onths (years) ago, and it's totally out of style with everything else that you're doing. One good place is the "Official Pear Coding Standard:" http://pear.php.net/manual/en/standards.php Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jha

Re: [PHP] Table trouble

2003-07-07 Thread Jeff Harris
te a loop using that counting pattern. It looks like you want the odd rows on the left and the even rowss on the right. Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46

Re: [PHP] qry not running??

2003-07-07 Thread Jeff Harris
rned is zero, what data do you expect to get? Shouldn't you check to see if the number of rows returned is zero and produce some other message and stop processing the non-existant results? Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | g

Re: [PHP] php pages without .php extension on linux and windows

2003-07-07 Thread Jeff Harris
.24 | |Thanks for helping | |Heiko This might be better done in httpd.conf. See what's going on at http://www.phpbuilder.com/columns/tim19990117.php3 It might be able to do what you're looking for. Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jha

[PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-04 Thread Jeff Schwartz
OK, so Apache 2 is out. Is there any reason not to go with RH 9.0? Any known problems? Jeff - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

Re: [PHP] date() function and timestamps

2003-07-04 Thread Jeff Harris
xpect incorrectly. The value of 'm' won't change depending on what's around it. The correct formats are listed at http://www.php.net/manual/en/function.date.php Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import&qu

[PHP] Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Jeff Schwartz
at 9 comes with 2.0 so it's really confusing. Has anyone had any experience with this combo? Thanks, Jeff - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

Re: [PHP] Get Rid of this Crook

2003-07-03 Thread Jeff Harris
ide of the header-munging debate I sympathise with... | |It's a short-coming of your mail client, not the list -- guess which one |should be changed? | Should people bend to the technology they use, or should the technology be manipulated to do the people's bidding? Jeff -- Registered Linu

Re: [PHP] Multiple posts.

2003-07-03 Thread Jeff Harris
ending the SMS message through another web page, perhaps one of the Pear HTTP packages might work for you: (http://pear.php.net/packages.php?catpid=11&catname=HTTP) I haven't started experimenting with any of them yet, but I'm sure someone will be able to help out if you need assistan

RE: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-03 Thread Jeff Moser
So...why not write the entire included file as a function and then call that function instead of using include? I'd be interested, though, to hear if the return broke out of the include. -- Jeff Moser Web Developer ihigh Inc. / Host Interactive 859.232

Re: [PHP] print html code

2003-07-02 Thread Jeff Harris
On Jul 2, 2003, "Jim Lucas" claimed that: |well, tell me. What browser follows the standards 100% ?? The same one that is 100% bug free? -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9

Re: [PHP] how can I logout autamaitcally (using session)

2003-07-02 Thread Jeff Harris
hat removes the sessions and lets you log in again. I'm sure you might be able to recreate it to your needs (as long as they don't lay claim to a patent of a count down timer to end a session). Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/j

Re: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-02 Thread Jeff Harris
On Jul 2, 2003, "Jonathan Pitcher" claimed that: |I have some scripting that includes files. The included files are |executed and everything works great. | |The included page needs to check multiple information. | |Currently if I want the scripts to end correctly I have to: [snip] |I would love

Re: [PHP] print html code

2003-07-02 Thread Jeff Harris
On Jul 2, 2003, "Karina S" claimed that: |Hello, | |I want to make a php site which can generate a html code and display it on |the screen. (Display the code itself.) |I use htmlspecialchars() function. It works fine, but now I have to add |about 200 lines of static html code to print it out. If I

Re: [PHP] Hi All i need help..

2003-07-02 Thread Jeff Harris
On Jul 2, 2003, "Beogradjanin" claimed that: |Hi All I want to install PHP under Suse 8.2. How can I do it? | | | |Thanks Unless you have a custom install, probably the easiest way is to install the rpms through YaST. -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.u

Re: [PHP] PHP and Mysql Limit

2003-07-02 Thread Jeff Harris
|- Original Message - |From: <[EMAIL PROTECTED]> |To: <[EMAIL PROTECTED]> |Sent: Wednesday, July 02, 2003 9:23 AM |Subject: [PHP] PHP and Mysql Limit | | |> |> I've created a script that reads a sorted mysql query and outputs specific |> results into text files defined by the start and limi

Re: [PHP] Items displayed left and right, help newman.

2003-07-01 Thread Jeff Harris
right? Perhaps create the page in only html the way you want it to appear, then look for patterns that can be created by looping through a logic structure (like www.netfobs.org/dates.php)? Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --imp

Re: [PHP] .inc.php

2003-07-01 Thread Jeff Harris
|- Original Message - |From: "Kyle Babich" <[EMAIL PROTECTED]> |To: "PHP-General" <[EMAIL PROTECTED]> |Sent: Tuesday, July 01, 2003 3:38 PM |Subject: [PHP] .inc.php | | |> When .inc.php files are included they are also executed whenever the |> script is executed right? |> -- |> Kyle |> On

Re: [PHP] Parsing fgetcsv using tab (\t)

2003-07-01 Thread Jeff Harris
iters, and those that use uncommon delimiters will have to adjust. [/Not PHP] Then, use the value submitted to choose the delimiter in the php script. Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20B

Re: [PHP] Re: Why Can't I get this to work

2003-06-30 Thread Jeff Harris
On Jun 28, 2003, "Ron Clark" claimed that: |OK, normally I do not respond to my own posts, but I have been shown that I |did not get the whole script. So here it is: | |for ($i=0; $i<$number_of_alerts; $i++) { | |// Split each line | |$line = explode(" ", $ipfwlog[$i]); | |$line[1] = intval($line[

[PHP] Constants in heredoc strings?

2003-06-27 Thread Jeff Stewart
Is there a way to expand constants in heredoc strings without assigning the constant's value to a variable first? -- Jeff S. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ODBC in PHP: setting SQL_ATTR_TRACE

2003-06-27 Thread Jeff Stewart
how to do that with the odbc_* functions. The closest I could come was odbc_setoption(), but the manual cautions against using this function in a production environment. Is there a way to pull this off in PHP? -- Jeff S. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] SEARCH ENGINE

2003-06-26 Thread Jeff Harris
On Jun 26, 2003, "David Elìas Sánchez Vásquez" claimed that: | |Hi folks | |First, thanks to Jim for the greeat tree-menu, we are just editing it. |Ok, we are doing the tutorial for the Intranet of our University. There is |just a lot of information and we want to give the user all the ways to fin

Re: [PHP] How can MD5 HAsh be passed to db as pwd? was a Re: [PHP]Securing PHP code

2003-06-26 Thread Jeff Harris
|Hello Justin or Anybody else | |> Store an MD5 of the password, that way you're comparing the two hashes, |not |> two passwords... even if someone stumbles into your database, they'll |only |> see the MD5'd password. A further step would be encryption, on which |you |> will have to do a LOT of re

Re: [PHP] pdf routine - good local / bad online

2003-06-25 Thread Jeff Harris
On Jun 25, 2003, "Floyd Baker" claimed that: | |Hi. | |I have a routine creating a pdf file. Here is the script that works |on the win98 dev box. But when I upload it to the linux online, it |does not work. | |It stops at 'create handle'. Can someone please tell me why? | |// GET COMPANY INFO

Re: [PHP] PHP Mysql Hit Counter

2003-06-24 Thread Jeff Harris
On Jun 25, 2003, "[EMAIL PROTECTED]" claimed that: |Hi All, |I'm after a fairly neat PHP mysql hit counter with date reporting/url |reporting and perhaps some graphs but not nessasary. i've done my own little |one which simply reports hits, but i'm wondering is there a free one that is |da busiess

[PHP] RE: PHP General Mailing List

2003-06-24 Thread Jeff Harris
Summary: I have to create a word document on the fly. what's the best way to go about it? Okay so I have a client that would like something output to a word document. I already have HTML and PDF versions... I'm trying to figure out the best way to do this. I am already aware of the open html in wo

RE: [PHP] Performance question

2003-06-24 Thread Jeff Harris
On Jun 25, 2003, "Ow Mun Heng" claimed that: |Can someone help explain how I can perform a benchmark on the queries or |whatever? | | |Cheers, |Mun Heng, Ow |H/M Engineering |Western Digital M'sia |DID : 03-7870 5168 | | Do it many times and time it. -- Registered Linux user #304026. "lynx -sourc

Re: [PHP] PHP & Mysql Error Code 1062 - Duplicates found

2003-06-24 Thread Jeff Harris
On Jun 25, 2003, "Ow Mun Heng" claimed that: |Hi PHP'ers, | | I've got a question regarding the input of (multiple) data into |mysql through PHP. | |If there is already an entry in the database, then an mysql will generate an |error 1062 stating that the entry is a duplicate. (This will happ

Re: [PHP] PHP & cached data when using browser "back" button

2003-06-24 Thread Jeff Harris
On Jun 25, 2003, "Ow Mun Heng" claimed that: |Hi All, | | How can I prevent the browser from sending in cached data after the |user pressed the 'back' button and re-inputted data. | |Eg: Originall I enter 3 isbn numbers, submitted it, then the user presses |the 'back' button to re-input 1 ne

[PHP] set_error_handler always returns false

2003-06-23 Thread Jeff Stewart
I'm using PHP 4.3.1 as an Apache module. No matter what I try, I can't get set_error_handler() to do anything other than return false. Under what circumstances does this happen? -- Jeff S. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

Re: [PHP] free dynamic MENU

2003-06-23 Thread Jeff Harris
On Jun 23, 2003, "David Elìas Sánchez Vásquez" claimed that: | |Hi folks | |I'd like to know if you know any page where I can download a tree dynamic |menu made in PHP.. The options of this menu will be pulled from a mysql |database | |thanks | |David I know this breaks the "rules/recommendations

RE: [PHP] Re: Passing Variables

2003-06-21 Thread Jeff Harris
/?l=php-general&m=105597453308214&w=2 next page If you really want to keep the values a secret, you will have to substitute them with a reverable hash or some other method to keep prying eyes away. Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.

Re: [PHP] Re: saving TEXTAREA data into mysql database

2003-06-21 Thread Jeff Harris
can wrap the output within tags for the html out. Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to this message should conform to RFC 1855.

[PHP] SQL Sanitation in PHP

2003-06-20 Thread Jeff Stewart
e user input, namely " , / \ * & ( ) $ % ^ @ ~ ´ ? Does PHP require anything more? -- Jeff S. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] clearing cache

2003-06-20 Thread Jeff Harris
ts, clear it and bounce the user to page 1. Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to this message should conform to RFC 1855. --

RE: [PHP] strange crypt() problem

2003-06-19 Thread Jeff Harris
ht be able to work something with mcrypt and someone who knows anything about it. http://www.php.net/manual/en/ref.mcrypt.php Jeff On Jun 19, 2003, "Sævar Öfjörð" claimed that: | |Well, if you don't find another solution for this, you could generate |random passwords for each mem

[PHP] ie issue: when I do a forced redirect with the header() functionthe location bar does not change

2003-06-18 Thread Jeff Means
How do I force IE to update the location bar when I do a forced redirect?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Strange roblems with sessions

2003-06-18 Thread Jeff Harris
| |This is tested. | |HTH, |Kevin | It seems to me, from this thread, and from other recently asked questions, that people are trying to hide query strings. In this case, unless there is a reason to do so, change the action to "POST" then you don't have to worry about any redirecting

[PHP] Re: put data into array

2003-06-16 Thread Jeff Sun
, can any people how can I fix it , sorry I am pretty new to PHP, thank you in advance. Jeff ora_getcolumn($curs,0)); /* array_push(ora_getcolumn($curs,1)=>ora_getcolumn($curs,0));*/ } array_walk ($day_rules, 'test_print'); } print_r($day_rule

Re: [PHP] mysql_errno codes

2003-06-16 Thread Jeff Harris
On Jun 16, 2003, "Thomas Hochstetter" claimed that: |Hi. | |[3rd try] ... where can i get mysql_error codes from? The ones that |mysql_errno returns. | |Thanks |Thomas | All mysqld error messages are located into the file $MYSQL_ROOT_DIR/$LANGUAGE/errmsg.txt (or thereabouts) and listed in numeric

Re: [PHP] shopping cart and login system

2003-06-14 Thread Jeff Harris
On Jun 14, 2003, "olinux" claimed that: |hi | |--- electroteque <[EMAIL PROTECTED]> wrote: |> hi there , i am about to build a shopping cart which |> will interact with a |> paypal payment system , the cart will use sessions |> to store the items and |> basket information before checking out and p

Re: [PHP] php editor?

2003-06-14 Thread Jeff Harris
On Jun 14, 2003, "M-Ali Mahmoodi" claimed that: |hi all |i'm a beginner in php |can anyone help me about useful and powerful editors in php? vi -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6

Re: [PHP] sessions security (no problems just question)

2003-06-14 Thread Jeff Harris
On Jun 14, 2003, "Ryan A" claimed that: |Hi, |I have been reading up on the old discussions on this list as i was very |busy for the past few daysand i saw a very intresting topic regarding |sessions and security. | |I really didnt understand some of the things you guys wrote on "hi-jacking a

Re: [PHP] extracting text from text file to be used in PHP

2003-06-13 Thread Jeff Harris
On Jun 13, 2003, "Lance Q" claimed that: |Hello all, | |One of the sites I host is a radio station. Their computer has been setup to |automagically upload the current song and the next song to their web site |via FTP. Unfortunately, the format it comes in is pretty awful. (See below). | |The CURRE

Re: [PHP] 4.3.2 -- does connection_status() actually work?

2003-06-12 Thread Jeff Harris
On Jun 12, 2003, "news" claimed that: |Shouldn't the following work - or rather why doesn't it : | | |ignore_user_abort(0); | |for( $i=100; $i; $i-- ) |{ |if ( connection_status() ) exit(0); |print " blurp."; flush(); |sleep(1

RE: [PHP] Headers in body - what am I doing wrong???

2003-06-12 Thread Jeff Harris
f the message body. | |Stupid me ... so simple, of course ... thanks ... first thing to go is the |eyes... | |Rene Eyes are the THIRD thing to go. Second is memory. I can't remember the first thing to go, though. Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentr

<    1   2   3   4   5   6   7   8   9   10   >