Re: [PHP] Unexpected Notice message

2012-07-05 Thread RGraph.net support
Hi, > that the code should be fixed. Or the error reporting turned down... :-) -- Richard, RGraph.net support JavaScript charts for your website using RGraph http://www.rgraph.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is this list less busy than it used to be?

2012-07-04 Thread RGraph.net support
Though I think I've left behind now if that's the case... :-( -- Richard, RGraph.net support JavaScript charts for your website using RGraph http://www.rgraph.net COMMERCIAL license: RGraph commercial and government license only £99 FREE LICENSE: Using RGraph under the free license? Wr

Re: [PHP] Is this list less busy than it used to be?

2012-07-04 Thread RGraph.net support
Hi, > https://docs.google.com/spreadsheet/ccc?key=0Ak1QF0ijPYbedDNvb19SQl80MHcxUWhhbTZOYm5FUlE Yikes. That's a littled bit worrying. Or does it really mean that everyone is getting much better with PHP? :-) -- Richard, RGraph.net support RGraph: JavaScript charts for your webs

[PHP] Is this list less busy than it used to be?

2012-07-04 Thread RGraph.net support
Hi, Is this list less busy than it used to be? Or is it just me? When I used to be on this list ISTR sometimes being overwhelmed by email. Cheers -- Richard, RGraph.net support RGraph: JavaScript charts for your website http://www.rgraph.net -- PHP General Mailing List (http://www.php.net

[PHP] Hello again

2012-07-01 Thread RGraph.net support
Hi, Just thought I'd say hello again. Back to brush up on my PHP a little after a bit of a break - more reading than replying I'd imagine. I have some pretty bad jokes too that I might surreptitiously insert here and there... Cheers. -- Richard Heyes, RGraph.net support RGraph:

Re: [PHP] Re: Create unique non-autoincrement key for 700,000 records?

2008-12-16 Thread support
On Monday, December 15, 2008 7:29 PM, gould...@mac.com wrote: I have a mySQL database with 700,000 records in it, which are presently keyed with an "auto-increment" field. What I'd like to do is create another field with a field where each and every record number has a unique keyvalue. Exampl

Re: [PHP] Clearing pipe stream and a few other issues.

2006-02-16 Thread Support
Permissions on a virtual server is the reason for running this script as a cgi. It's not what prefer to do. However, this is only way php will work under my user name. Perl would probably be a better alternative but I don't know perl. If I had control of the apache server this would not be a proble

RE: [PHP] Embedded Player

2006-01-20 Thread ET Support
o just want to stream the sermons can do so, and with the player in a popup window they could still surf the web while listening. As far as file format, it might be worth looking into using the OGG Vorbis format. There are players on Windows/Mac/Linux that support the format and it uses compression,

[PHP] RE: parse string

2006-01-18 Thread ET Support
Hi Ron, Not aware of an existing function for that task... but - since it looks like all the value are strictly in quotes (="value") - if you know all the 'var's ahead of time (such as 'carrier') then you could extract the data fairly easily going through the data line by line checking with strpos

RE: [PHP] RE: header data being inserted into message

2006-01-18 Thread ET Support
ot; Thanks for the input! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 11:29 AM To: ET Support Subject: RE: [PHP] RE: header data being inserted into message what you're showing indicates that an MTA is getting confused about th

RE: [PHP] RE: header data being inserted into message

2006-01-18 Thread ET Support
rking then maybe I'll go to majordomo2. Anyone else have some advice for me here? Thanks, Ben -Original Message- From: Richard Correia [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 12:37 PM To: ET Support Cc: php-general@lists.php.net Subject: Re: [PHP] RE: header data bein

[PHP] RE: header data being inserted into message

2006-01-17 Thread ET Support
Hello all, I am having a problem using PHP's mail function to send mail via BCC to multiple recipients. Here's my code; -- $get_emails = pg_exec($dbh,"SELECT email FROM mailing_list WHERE conf = 1"); $count = pg_numrows($get_emails); $bcc_count = $envelope_count

Re: [PHP] Help getting PHP and GPG to work

2006-01-09 Thread Support
Thanks so much for the response Jason, I am sure glad somebody got it...good to know I'm on the right track. I have a key pair setup but I don't think they are named correctly...I could use some guidance on how the server is named and how to name your public keys to match..The other issuse is

[PHP] Parsing multiple XML documents as strings. Inbox

2004-12-06 Thread Goformusic Support
Hi, We worked with Sablotron before but switched over to the libxslt library on PHP5 to perform XSL transformations. We used the wrapper code found on http://be.php.net/xsl so that our old xslt_ functions continued to work. Now, with Sablotron we used to parse multiple XML documents as strings an

Re: [PHP] Upgrade PHP?

2004-08-01 Thread Support
I've dealt with a similar problem with Mandrake. Some distros have their own idea of where things should go. I prefer to install major applications like apache, perl, mysql, php myself and never install from rpm or accept default distro packages when installing an os from scratch. IMHO: Although h

[PHP] mysqli prepapred SELECT statement

2004-07-16 Thread Support
Anyone working with php5/mysql 4.1 yet with the new ext/mysqli? This has me stumped: $stmt = $mysqli->prepare('SELECT * FROM users WHERE userid=?'); $stmt->bind_param('i', $userID); $stmt->execute(); ...now how to get the results??? I can't use bind_result() since I have no clue how many colum

[PHP] Handling a BLOB (zip file) called from MySQL

2003-10-31 Thread SpyProductions Support Team
I am trying to figure out how to best handle a record that contains a zip file (BLOB) in MySQL. When I call it out from the table, is the best way to handle the file by writing it to a temporary directory? The BLOB represents a '.zip' file, so should I be using: zip_open /zip_read / zip_close w

[PHP] FAQ in PHP

2003-09-15 Thread Suresh Babu.A [Support]
Hi Team, How to track a posting in a faq using mysql. Thanks in advance. Suresh A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP files processing with Apache

2003-08-21 Thread SpyProductions Support Team
Does anyone know how to get apache to process ALL files for php? What would the settings be in a Virtual Host listing (or a plain host listing for that matter)? Thanks! :) -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Your details

2003-08-20 Thread support
See the attached file for details -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HOW TO -- ARRAY UPDATE MYSQL

2003-07-20 Thread Suresh Babu.A [Support]
Hi ALL, I just want to validate each row values of a and load the same in MYSQL Table. Suresh A. On Sat, 19 Jul 2003, Curt Zirzow wrote: > Suresh Babu.A [Support] <[EMAIL PROTECTED]> wrote: > > > > HI ALL, > > > > I want to update a mulitple row fr

[PHP] HOW TO -- ARRAY UPDATE MYSQL

2003-07-19 Thread Suresh Babu.A [Support]
HI ALL, I want to update a mulitple row from a HTML Table to MYSQL Database. L1 V1 T1 L2 V2 V2 L3 V3 V3 Any help in this regard is much appreciated. Suresh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] header(); Issue

2003-06-19 Thread SpyProductions Support Team
I have this in a script: header("Location: $Relative/outstanding.php?pdd=1&pddid=$poid"); It works fine elsewhere in the script without the variables. Does anyone know if php 4.06 has issues with this? Or am I making a boneheaded mistake here? $Relative is from an include, and outputs fine.

[PHP] PHP vs. CGI

2003-03-05 Thread SpyProductions Support Team
Does PHP use less system resources than CGI on a server? I have a bulletin board which is incredibly active, but there is a PHP sister to it. Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Counting table fields having specific values

2003-02-27 Thread rentAweek support
I have a table where the row named "hide" can have a value 0 or 1. I want to obtain a count of all the rows where "hide" has value 0. The following works on mysqladmin: SELECT SUM( hide = 0 ) FROM `names` LIMIT 0, - 1 Giving SUM( hide = 0 ) 7 The PHP script statements generated are: $sql =

Re: [PHP] Text data truncated after first blank character in form fields

2003-02-18 Thread rentAweek support
;rentAweek support" <[EMAIL PROTECTED]> To: "Kevin Stone" <[EMAIL PROTECTED]> Cc: "Michael Eacott" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, February 17, 2003 3:12 PM Subject: Re: [PHP] Text data truncated after first blank character in form

Re: [PHP] Text data truncated after first blank character in form fields

2003-02-18 Thread rentAweek support
Errnest Thanks. I used htlmentities and still have the truncation. Mike --- Ernest E Vogelsinger wrote: At 22:04 17.02.2003, Michael Eacott said: [snip] When I have the following in a form: > the value shown in the form field is a and not a b c why

Re: [PHP] Text data truncated after first blank character in form fields

2003-02-17 Thread rentAweek support
Thanks I tried our your suggestion sic: Still truncation Mike --- Kevin Stone wrote: It's your HTML Failing to enclose the value in quotes may lead to truncation. Your output looks like this... You should always quote every parmeter in the tag just to avoid such problems. This should work

Re: [PHP] Help with POSTing variable array names from a PHP script please.

2003-02-15 Thread rentAweek support
Jason Thanks for your help . I've implemented you advice. The problem persists in that I'm trying create the following situation: When the posted action php script runs I want the retrieved $_POST array to contain such information that the action script can find out what checkboxes were clicke

[PHP] while loop- will this work?

2003-01-30 Thread SpyProductions Support Team
Should this work? $f1 = rand(999,999); while($check_sid = mysql_query("SELECT * FROM that_table WHERE this = '$f1'")){ $f1 = rand(999,999); } i.e. put the random number in a loop to check and make sure it is already not in use? Thanks, -Mike -- PHP Gene

RE: [PHP] URLencode issues - halp! - code included

2003-01-23 Thread SpyProductions Support Team
! - code included Take the $name = urldecode($name);bit out. The decoding is all handled by PHP before your script runs. Also, you should look into using $_GET['name'] instead of $name. SpyProductions Support Team wrote: Here is some code: >From a form, I get username as $nam

RE: [PHP] URLencode issues - halp! - code included

2003-01-23 Thread SpyProductions Support Team
ursday, January 23, 2003 3:31 PM > To: PHP General list > Cc: SpyProductions Support Team > Subject: Re: [PHP] URLencode issues - halp! > > > Mike -- > > ...and then SpyProductions Support Team said... > % > % I am having some issues, apparently, with URL encode. > ...

[PHP] URLencode issues - halp!

2003-01-23 Thread SpyProductions Support Team
I am having some issues, apparently, with URL encode. I've got people signing up for a membership on a site, but some of their memberships fail because the username, which in encoded, sometimes goes through fine and sometimes does not. Are there any special reasons this may happen? I decided to

Re: [PHP] Date Formatting

2002-12-13 Thread Support @ Fourthrealm.com
Use this: function makedate($format, $indate) { $temp = explode("-", $indate); $fulldate = mktime(0, 0, 0, $temp[1], $temp[2], $temp[0]); $temp = date($format, $fulldate); return ($temp); } and call it with thi

Re: [PHP] Show only user that variable "music"contain "pop"

2002-11-27 Thread Support @ Fourthrealm.com
If you only have one condition, then get rid of the AND in the where statement; Select only the fields that you need, instead of * Like this: SELECT id FROM $TBL_NEWS WHERE music LIKE '%pop%' ORDER BY name Peter At 03:16 PM 11/27/2002 -0500, Benjamin Trépanier wrote: Hi, I need information

Re: [PHP] scrolling data from db

2002-11-20 Thread Support @ Fourthrealm.com
ds a little harsh! You can put a message in place of the iframe, for those who don't support it. Sorry, your browser does not support iframes, to view the content of this frame, click here. Or better still, you can actually PUT SOME CONTENT IN THERE. I have an iframe which lists multiple

RE: [PHP] scrolling data from db

2002-11-20 Thread Support @ Fourthrealm.com
he iframes limited? Thanks, Eddie -Original Message----- From: Support @ Fourthrealm.com [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 11:23 AM To: Edward Peloke; [EMAIL PROTECTED] Subject: Re: [PHP] scrolling data from db Eddie, I use the attached on a site of mine...

Re: [PHP] scrolling data from db

2002-11-20 Thread Support @ Fourthrealm.com
Eddie, I use the attached on a site of mine... works with JavaScript and tags. There are 2 parts to the file - the javascript, and then the HTML code to make it happen. Tweak according to your needs. Peter At 11:00 AM 11/20/2002 -0500, you wrote: I have a large amount of data to present to t

Re: [PHP] Seconds to minutes

2002-11-19 Thread Support @ Fourthrealm.com
Bob, Instead of dividing, use modulus to get the exact number of remaining seconds, and then determine the minutes from that. Here is some code that I've quickly adapted from another language I use, to take the total minutes, and convert it to "hours:minutes" display. $totalmins = 193; $showmin

Re: [PHP] date

2002-11-19 Thread Support @ Fourthrealm.com
Eddie, This is a function that I wrote to handle this same situation: # --- Function to format date output --- function makedate($format, $indate) { $temp = explode("-", $indate); $fulldate = mktime(0, 0, 0, $temp[1], $temp[2], $temp[0]);

[PHP] Recommend a merchant/store product

2002-10-28 Thread Support @ Fourthrealm.com
What databases does it support? Many thanks in advance. Peter - - - - - - - - - - - - - - - - - - - - - Fourth Realm Solutions [EMAIL PROTECTED] http://www.fourthrealm.com Tel: 519-739-1652 - - - - - - - - - - - - - - - - - - - - - -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Recommend a merchant/store product

2002-10-28 Thread Support @ Fourthrealm.com
What databases does it support? Many thanks in advance. Peter - - - - - - - - - - - - - - - - - - - - - Fourth Realm Solutions [EMAIL PROTECTED] http://www.fourthrealm.com Tel: 519-739-1652 - - - - - - - - - - - - - - - - - - - - - -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] running slow on Win2k

2002-10-11 Thread Support @ Fourthrealm.com
More details on this... As I pay more attention to when it is sluggish or not, I notice that it seems to run fine on a typical page, with or without mySQL connections. But... the slowdown comes whenever I'm into my frame-based Admin, where 2-3 frames are typically loading at the same time. The

[PHP] Spiders, Sessions, trans SID, and mod_rewrite

2002-10-09 Thread Tech Support
Hello I'm preparing to start an ecommerce project that will require the use of sessions throughout the entire site for referrer and affiliate tracking purposes. I also plan to use mod_rewrite to make links to dynamic content search spider friendly. example: instead of /somescript.php?var1=valu

[PHP] HTTP_USER_AGENT - list of possibilities

2002-10-08 Thread Support @ Fourthrealm.com
Hey everyone... do you know where I can find a list of the common returns of the $_SERVER["HTTP_USER_AGENT"] variable? For example: I.E. 5.0 = Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; .NET CLR 1.0.3705) Netscape 4.08 = Mozilla/4.08 [en] (WinNT; U ;Nav) Thanks, Peter - - - - - - -

Re: [PHP] running slow on Win2k

2002-10-07 Thread Support @ Fourthrealm.com
systems my clients use. So, I just need to know if there are some tweaks I should be considering to speed up PHP? Peter At 12:31 AM 10/8/2002 +0900, @ Edwin wrote: >Hello, > >On Tuesday, October 8, 2002 12:19 AM >Support @ Fourthrealm.com wrote: > > Hi everyone, > > I

[PHP] running slow on Win2k

2002-10-07 Thread Support @ Fourthrealm.com
Hi everyone, I notice that my PHP runs really slow on Win2k Server w/ IIS 5, and even slower when accessing a mySQL database. It's a PIII-800 with 256MB RAM. It is otherwise a great machine, and fast. Any suggestions? Peter - - - - - - - - - - - - - - - - - - - - - Fourth Realm Solutions [

RE: [PHP] Getting started with PHP

2002-09-26 Thread Support @ Fourthrealm.com
Sauron, Since you're running Win2K, then you can use IIS already installed instead of Apache. I use Win2K Server, with IIS, PHP 4, and mySQL on my local box, and it works just fine. Peter At 10:55 AM 9/26/2002 -0400, Steve Bradwell wrote: >Welcome Steve, > >You'll need to do two things to g

RE: [PHP] Thoughts on a simple search engine...

2002-09-24 Thread Support @ Fourthrealm.com
Chuck, Setup your form like this (assuming search.php is the name of your page): . Then in your search.php page, use this structure: # --- set $step to passed value, or else set to default --- if (isset($_GET["step"])) { $step=$_GET["step"]; } elseif (isset($_POST["step"])) { $st

Re: [PHP] date functions

2002-09-23 Thread Support @ Fourthrealm.com
Patrick Off the top of my head... Convert both date1 and date2 to unix timestamps, and subtract one from the other. That will give you the number of seconds between them. Then, convert to hours, minutes, etc as required. Peter At 10:38 PM 9/23/2002 +0200, Patrick wrote: >i got 2 dates and

Re: [PHP] How do i assign Integers only and not real numbers?

2002-09-23 Thread Support @ Fourthrealm.com
Hi Tom, Try this: $years = round($years + ( $themonth / 12 )); From the manual: float round ( float val [, int precision]) Returns the rounded value of val to specified precision (number of digits after the decimal point). precision can also be negative or zero (default). ceil() and floor()

Re: [PHP] How do I use a Javascript variable in PHP?

2002-09-23 Thread Support @ Fourthrealm.com
Tom, JavaScript is a client side language, while PHP is server side. This means that the PHP is parsed and evaluated before it ever reaches the surfers browser. And since the JavaScript variable will not be available until it is created by the browser, there is no way to interact with it. Pe

Re: [PHP] Re: PHP source code

2002-09-19 Thread Support @ Fourthrealm.com
A solution that I use is to put important information in an include file, and store it in a User-Authentication protected folder, ie. /admin/ This adds one extra layer of protection to your files, and keeps the average joe-surfer from being able to get the files. Peter At 08:24 PM 9/19/2002

[PHP] reuse database connections

2002-09-18 Thread Support @ Fourthrealm.com
Another question about efficiency / using server resources: In another language I use, I can re-use an ODBC connection to make further queries/update/etc to the database to save the overhead of closing and reopening the connection to the db over and over. It works sometime like this (in the o

[PHP] use of mysql_free_result (was Re: [PHP] Efficiency)

2002-09-18 Thread Support @ Fourthrealm.com
Rick, or anyone, Based on what you said below, can you describe for me when the mysql_free_result tag should be used, and when it is not necessary? I'm fluent in other web languages (iHTML, ASP), but am fairly new to PHP, so I'm still learning the intricacies of the language, and the best way

RE: [PHP] Date-format

2002-09-18 Thread Support @ Fourthrealm.com
can do this... > >if ($youwanttocallit == "00-00-00") { > $youwanttocallit = " "; >} > >that way you don't have a bunch of 00-00-00 showing up. > >I hope that helps, because that is what the maillisting is for

[PHP] Efficiency

2002-09-18 Thread Support @ Fourthrealm.com
Which is more efficient? a) a sql loop where everything is displayed/formatted using echo stmts, like this: $result = mysql_query("SELECT * FROM news WHERE active=1"); while ($row = mysql_fetch_object($result)) { echo "$row->title "; } mysql_free_result($result); ?> OR b) a sql loop

Re: [PHP] Date-format

2002-09-18 Thread Support @ Fourthrealm.com
Reformatting before an inserting/updating is one option, but how would we change the mySQL database to accept the other format? Peter At 04:18 PM 9/12/2002 +0800, Jacob Miller wrote: >Why can't you just reformat it before inserting it into the db? > > $date = "31.12.2002"; > >

[PHP] Date(), adjusted for one year

2002-09-18 Thread Support @ Fourthrealm.com
Hi guys, What is the easiest way to get the date of one year from today? Accommodating for leap years is not essential (but would be a nice bonus). Thanks, Peter - - - - - - - - - - - - - - - - - - - - - Fourth Realm Solutions [EMAIL PROTECTED] http://www.fourthrealm.com Tel: 519-739-1652 - -

Re: [PHP] Processing PHP in Template File

2002-09-12 Thread Support @ Fourthrealm.com
John Include your template this way: $file_name="templates/somefile.php" $New_Content1 = 'This is the new text'; $New_Content2 = 'This is the other text'; include $file_name; In the template file, have etc wherever the content should appear. Then you can put other php code in the template f

Re: Fw: [PHP] Re:[PHP]question

2002-09-11 Thread Support @ Fourthrealm.com
Meltem, You're much better off to use JavaScript to perform the form validation. This way, when the user clicks on the Submit button, JavaScript can make sure that values are filled in, or that they are within range, and can then pop up a message advising them of any errors, and that they ca

Re: [PHP] select box

2002-09-09 Thread Support @ Fourthrealm.com
If you want to put the SELECTED option into your select list while you are building the page, use an if statement in the ... something like this: > Option 1 > Option 2 Peter At 02:05 PM 9/9/2002 +0300, you wrote: >Hi, > >Can I put the "selected" option of select box later by using php?

Re: [PHP] help me regarding redirecting a page

2002-09-09 Thread Support @ Fourthrealm.com
Anjali, Use a BUTTON type element, and some javascript: Peter At 01:57 PM 9/8/2002 -0700, you wrote: >hello, > >i dont know how to redirect a page... i mean i want to >have the effect of submit button without clicking on >the submit button. > >thank you >anjali > >___

[PHP] Re: [PHP-DB] Radio buttons

2002-08-26 Thread Support @ Fourthrealm.com
Your radio buttons look fine. I would ensure to add quotes (single or double) around the attribute settings, for HTML compliance. If you must go without quotes, then make sure that you don't put spaces in any of the attribute values. As for the form not working... do you have a JavaScript

[PHP] Php manual

2002-08-03 Thread support-bot
Where can I download the php manual with the user notes (in html format) Thank You ___ http://www.SaudiABM.com ___ About Islam : http://home2.swipnet.se/~w-20479/Audio.htm http://sultan.org ___ -- PHP General Mailing List (htt

[PHP] Decode email

2002-08-03 Thread support-bot
Hi Anyone know a good email decoder (function or class) that can split the any email to subject, from, to , body and attachments ? Thank You ___ http://www.SaudiABM.com ___ About Islam : http://home2.swipnet.se/~w-20479/Audio.htm http://sultan.org

Re: [PHP] mcrypt

2002-07-30 Thread Tech Support
Cross posting this with php-dev might not be the best idea. The dev list is not for support unless you are trying to code part of the php source. So this is only failing on the decrypt side of the code? "Memory allocation error" does not sound like a problem specific to this functio

Re: [PHP] Re: A somewhat unusual session question...

2002-07-30 Thread Tech Support
n any file that is world readable. Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "Lars Olsson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 30, 2002 12:09 PM Subject: [PHP] Re: A somewhat unusual session qu

Re: [PHP] searching an array for words starting with 'p'

2002-07-30 Thread Tech Support
try preg_grep() http://www.php.net/manual/en/function.preg-grep.php example: Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "andy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 30, 2002 10:36 AM Subje

Re: [PHP] Credit Card Validation With Expiration Date

2002-07-30 Thread Tech Support
as the date was past present they would go through. P.S. Save the flames. It was not my idea to guess new expiration dates ;-) Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "Craig Vincent" <[EMAIL PROTECTED]> To: "Laurent Drouet

Re: [PHP] Public Scripts in a commercial product

2002-07-29 Thread Tech Support
Uhhh but you really should ask the author too. ;-) Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "Tech Support" <[EMAIL PROTECTED]> To: "Chris Boget" <[EMAIL PROTECTED]>; "PHP General" <[EMAIL PR

Re: [PHP] Public Scripts in a commercial product

2002-07-29 Thread Tech Support
in a commercial work you must also provide the original source code and the original license. This does *not* mean that you have to include *your* source code, but only the original source code. Some licenses are even more free than that but that is the standard. Jim Grill Support Web-1 Hosting http

Re: [PHP] PHP5?

2002-07-29 Thread Tech Support
#x27;t help and blah blah blah. I wouldn't recommend asking many questions though unless you want to get flamed. :-) Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "Chris Boget" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Se

Re: [PHP] php 'mail()' security

2002-07-28 Thread Tech Support
I think you are looking for something different. do this: print ""; print_r($_SERVER); print ""; You will see a whole bunch of useful globals. As a matter of fact, try this one out too: print ""; print_r($GLOBALS); print ""; Jim Grill Support W

Re: [PHP] PHP/MySQL Search Engine Query Question

2002-07-28 Thread Tech Support
ng project. I copied it and changed some var names to make it more clear. I did not test it in this format but it is a good example and you could certainly improve it or build on it. Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "Paul Maine"

Re: [PHP] php 'mail()' security

2002-07-28 Thread Tech Support
; $ref = explode('/', $referer); if ( in_array($ref[1], $_valid_referrers) ) return true; else return false; } Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "Dennis Gearon" <[EMAIL PROTECTED]> To: "Bob Lockie"

Re: [PHP] Help reg. create user and allocate space

2002-07-28 Thread Tech Support
Are you asking us how to write an entire online community program??? Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "umesh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 28, 2002 6:40 AM Subject: [PHP] Hel

Re: [PHP] Sending a File to User's Browser

2002-07-27 Thread Support
); header("Content-Type: application/download"); header("Content-Transfer-Encoding: binary"); header("Content-Length: " . filesize($file)); header("Pragma: public"); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pr

Re: [PHP] CURL & SSL

2002-07-27 Thread Tech Support
cURL needs to be compiled with SSL support. ./configure --with-ssl=SSLPATH where SSLPATH is the actual path to where openssl can be found. ./configure --with-ssl=/usr works for me. Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "Oscar F&quo

Re: [PHP] failure notice (fwd)

2002-07-27 Thread Tech Support
list though. It's not like php.net has anything against rackspace users. They are just one of many who make use of the blacklist. Use another email account or get a hotmail account or something. The list needs you! :-) Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original M

Re: [PHP] sessions

2002-07-26 Thread Tech Support
= $password; You can also use $HTTP_SESSION_VARS. I'm not quite sure if there is any major difference in the two except that $_SESSION is new post ver 4.0.6 To end a session simply $_SESSION = array(); session_destroy(); Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Origin

Re: [PHP] mysql question

2002-07-26 Thread Tech Support
Congrats! Good choice! Take a look here: http://www.convert-in.com/acc2sql.htm or here: http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&q=convert+access+databa se+to+mysql Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "C

Re: [PHP] Help: header function

2002-07-26 Thread Tech Support
Try just header("Location: $PHP_SELF"); or header("Location: $SCRIPT_NAME") ...leave out http:// ...and your quotes are in the wrong place too. Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "k a m e s h" <[EMAIL

Re: [PHP] Help: header function

2002-07-26 Thread Tech Support
ot like it's going to mess anything up... unless you moved your code from one site to another and hard coded your full URI in all your header redirects... yikes!!. That's when a main config file would come in real handy :-) Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Origi

Re: [PHP] PHP UPGRADE on LINUX

2002-07-26 Thread Tech Support
problems that I'm unaware of. I don't see why you people put up with that rpm crap. :-) Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "karthikeyan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 26

Re: [PHP] php redirect

2002-07-26 Thread Tech Support
their sites/apps on *nix we will eventually take down the evil Redmond devil and open source software will rule the world. "The box read, 'windows 9x or better' so I installed Linux!" hehe Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message -

Re: [PHP] High Resolution Images

2002-07-26 Thread Tech Support
This may sound silly, but you are uploading in binary mode right? Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 26, 2002 5:24 PM Subject: [PHP] High Resolution Images &g

Re: [PHP] Installed PHP on home Win98se, now how can I get browser to see it?

2002-07-26 Thread Tech Support
You need a web server like M$ IIS or Apache. I would rather chew tin foil than run an IIS server even if it was on a win machine. You can install the win version of the Apache web server and then just browse to http://localhost/ to view your work. Jim Grill Support Web-1 Hosting http://www.web

Re: [PHP] Help: header function

2002-07-26 Thread Tech Support
the query string to keep the session without the need for a session cookie. Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "k a m e s h" <[EMAIL PROTECTED]> To: "Tech Support" <[EMAIL PROTECTED]> Cc: "Matt" &

Re: [PHP] GD Library

2002-07-25 Thread Tech Support
I'm not a windoze user but if that line has a ";" at the beginning of it like you have it in your message then it is commented out! LOL. :-) Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "Ryan Moore" <[EMAIL PROTE

Re: [PHP] mySQL Queries using PHP's SESSION variables

2002-07-25 Thread Tech Support
ubquery .= " ItemNumber = '$pid' OR "; // get rid of last _OR_ $subquery = ereg_replace('[:space:]OR[:space:]$', '', $subquery); // put the query together $query = $query . $subquery; // add more crap to query if you want $query .= " and some_other_column=

Re: [PHP] an array_key_exists() substitute for php 4.0> <4.1 ?

2002-07-25 Thread Tech Support
http://www.php.net/manual/en/function.array-key-exists.php The name of this function is key_exists() in PHP version 4.0.6. Damn those elusive manual pages :-/ Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "David D" <[EMAIL P

Re: [PHP] FreeBSD 4.6 / PHP 4.2.2 / Apache 2.0.39 install trouble

2002-07-25 Thread Tech Support
4.2.2 will not work with apache 2.X from what I've read. However, I have heard that if you get the latest CVS of both php and apache it will work. I have not, and probably will not, go down that road just yet :-) Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Me

Re: [PHP] String Manipulation

2002-07-25 Thread Tech Support
ad. Sorry if I threw you off. You can just do it like this: $text_out = ereg_replace('(.*(\(|\[)|(\)|\]).*)', '', $text_in); Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "Mike" <[EMAIL PROTECTED]> To: "'Tech Support'"

Re: [PHP] pulling records from mysql

2002-07-25 Thread Tech Support
This query will return only the 16th row SELECT firstname FROM table_name LIMIT 16, 1 This query will give you all rows up to 15 SELECT firstname FROM table_name LIMIT 1, 15 Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "Tyler Durdin&quo

Re: [PHP] String Manipulation

2002-07-25 Thread Tech Support
(.*(\(|\[)|(\)|\]).*)', '', ${$data}); // the magic line. feed it the string(s). print "$i) $data"; } ### Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "Mike" <[EMAIL PROTECTED]> To: "PHP List&qu

Re: [PHP] Sessions, how they exist and die

2002-07-25 Thread Tech Support
7;s in php.ini. http://www.php.net/manual/en/function.ini-set.php Sorry for the book. But sessions can be difficult to grasp if your new and I thought this was important. Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "Matt Babineau" <[EM

Re: [PHP] preg_match() occurence position

2002-07-25 Thread Tech Support
rrence http://www.php.net/manual/en/function.strpos.php $pos = strpos($text, $matches[0]); die("$pos"); // should be what you want... 10 Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "lallous" <[EMAIL PROTECTED]> To: <[E

Re: [PHP] web page function

2002-07-24 Thread Tech Support
Hi Steve, try this: if (basename($SCRIPT_NAME) == "index.php") print "some silly message"; Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "Steve Minter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]&

Re: [PHP] Trouble with \

2002-07-24 Thread Tech Support
f sql injections and other types of sneaky stuff. Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: <[EMAIL PROTECTED]> To: "PHP List (E-mail)" <[EMAIL PROTECTED]> Sent: Wednesday, July 24, 2002 5:30 PM Subject: [PHP] Trouble with \

  1   2   >