[PHP] DB resource as Session var

2003-07-29 Thread Jackson Miller
I think I know the answer to this, but I have no technical reason to back it up. Is it possible to store a db connection resource id as a $_SESSION variable? It would be nice to have one connection per user/session that carries over multiple page views. I am guessing this is impossible, but i

[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 Mail

Re: [PHP] email confirmation script

2003-08-14 Thread Jackson Miller
ould be discarded. > > If the e-mail address was valid - and the user did supply it - a randomly > generated string would be appended to the e-mail address for a match into > mySQL. > > Please advise. > Thank you. > TR > > --- > [This E-mail scanned for viruses b

Re: [PHP] Re: PHP - Interpreted or Compiled Language

2003-08-14 Thread Jackson Miller
te in message > news:[EMAIL PROTECTED] > Hi everybody > > One basic question but still couldn't find the answer. > > Is php Interpreted language or Compiled Language like C or C++. > > Thanks in advance > > Binay -- jackson miller cold feet creative 615.321

Re: [PHP] what is %s %d

2003-08-14 Thread Jackson Miller
ank you for your answers. > > _ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus -- jackson miller cold feet creative 615.321.3300 / 800.595.4401 [EMAIL PROTECTED] cold feet pre

[PHP] Ignore session_auto_start

2003-08-14 Thread Jackson Miller
. Unfortunately I cannot find any way to do this. Session destroy seems to first create the session and then destroy it. I want there to be no session started when this file is loaded. thanks, -Jackson -- jackson miller cold feet creative 615.321.3300 / 800.595.4401 [EMAIL PROTECTED

Re: [PHP] large groups of files??

2003-08-14 Thread Jackson Miller
at one time? > What I'm looking for is a way to select multiple files and then have them > written into a form. I can do it with individual files but not more than 1 > file as I can't figure out a way to get the form Browse ability to allow > selecting multiple files. >

[PHP] Background process

2003-08-14 Thread Jackson Miller
until the process starts. Is there a faster way to start a background process? -Jackson -- jackson miller cold feet creative 615.321.3300 / 800.595.4401 [EMAIL PROTECTED] cold feet presents Emma the world's easiest email marketing Learn more @ http://www.myemma.com -- PHP General Ma

Re: [PHP] help with email problem

2003-08-14 Thread Jackson Miller
(horrible name isn't it). It is a great bill that in part makes harvesting email addresses illegal. -Jackson > > Matt > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.507 / Virus Database: 304 -

Re: [PHP] image button problem

2003-08-14 Thread Jackson Miller
> Web-Hosting | Development | Security | Consultancy | Domains > ---- -- jackson miller cold feet creative 615.321.3300 / 800.595.4401 [EMAIL PROTECTED] cold feet presents Emma the world's easiest email marketing Learn more @ http://www.myemma.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail error

2003-08-14 Thread Jackson Miller
localhost" port 25, > verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in > c:\program files\apache group\apache\htdocs\do_feedback.php on line 12 > > what's that means? Is anyone got a clue. please help -- jackson miller cold fee

Re: [PHP] configure smtp error

2003-08-14 Thread Jackson Miller
ni or use ini_set() > in c:\program files\apache group\apache\htdocs\do_feedback.php on line 12 -- jackson miller cold feet creative 615.321.3300 / 800.595.4401 [EMAIL PROTECTED] cold feet presents Emma the world's easiest email marketing Learn more @ http://www.myemma.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Segmentation Fault

2003-08-15 Thread Jackson Miller
her scripts run. This particular script is not doing anything out of the ordinary. It is opening a database connection, opening a .csv file and inserting rows into the database. How in the world could this Seg Fault? -Jackson -- jackson miller cold feet creative 615.321.3300 / 800.

[PHP] OOP question

2003-06-01 Thread Jackson Miller
Is it possible to reference two instances of an object at once with a single variable name while retaining the ability to reference the objects seperately? I am using the PEAR Template IT package and need to generate two similar but different results at the same time. I am doing this with two ins

[PHP] preg_replace help

2003-06-04 Thread Jackson Miller
I am trying to create a text only version of an HTML formatted message. I would like to convert all links from: http://domain.tld.page.ext";>link name to: link name [http://domain.tld/page.ext] The problem is that some links may have additional modifiers and onthers may not. I have seen many ex

Re: [PHP] preg_replace help

2003-06-04 Thread Jackson Miller
ext version. -Jackson > > Jim Lucas > - Original Message - > From: "Jackson Miller" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, June 03, 2003 9:43 AM > Subject: [PHP] preg_replace help > > > > I am trying to create a

Re: [PHP] preg_replace help

2003-06-04 Thread Jackson Miller
site (http://jaxn.org) to learn more about me. Visit memigo (http://memigo.com) to learn about current events. stripping the HTML is easy, but before I do I want to convert the links. Thanks, -Jackson On Tue, 2003-06-03 at 11:59, Ernest E Vogelsinger wrote: > A

Re: [PHP] CLI problems

2003-06-04 Thread Jackson Miller
Try using #!/usr/local/bin/php My guess is that when you run: ls -ls /usr/bin | grep php you will see that php is a symlink to /usr/local/bin/php -Jackson On Tue, 2003-06-03 at 16:54, Brian Paulson wrote: > I have been looking for answer but have not located any thing that will > solve my probl

[PHP] IBM UniVerse + PHP

2002-09-03 Thread Jackson Miller
t familiar with UniVerse). Any help will be greatly appreciated. Replies can be off-list since there doesn't seem to be much interest in PHP/UniVerse. Thanks, -Jackson -Forwarded Message- > From: Jackson Miller <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subjec

Re: [PHP] How do I get milliseconds?

2002-09-04 Thread Jackson Miller
microtime(); will return microseconds. That is not milliseconds, but it may or may not solve your problem. I don't think there is a way to get milliseconds. -Jackson On Wed, 2002-09-04 at 14:47, DonPro wrote: > Using the following code, > > date("His") > > I get the hours, minutes and secon

[PHP] Authentication: HTTP or homegrown?

2002-10-15 Thread Jackson Miller
I am curious what method of authentication is preferred by people on this list. Are you using PHP scripts for authentication and limiting access, or are you using HTTP header info. Maybe it is best to use both. For my sites I usually store user info in a database and use php and sessions to aut

[PHP] Executing the value of a variable

2002-11-02 Thread Jackson Miller
I would like to store some code in a database and load/execute that code based on a query. Is it possible to execute the value of a variable in a php script? I am aware of several other ways to accomplish the same task, but I just want to see if there is in fact a performance hit from storing cod

[PHP] Gripe

2003-08-29 Thread Jackson Miller
Why is it that when you forget a "}" the error says: Unexpected $ on line [last line of file] Why can't it just say: Missing } on or before (best guess). -Jackson -- jackson miller cold feet creative 615.321.3300 / 800.595.4401 [EMAIL PROTECTED] cold feet presents E

Re: [PHP] Gripe

2003-08-29 Thread Jackson Miller
and not a bug report. ;) Still, it would be nice... -Jackson > > It definitely sucks... almost as badly as a stray backtick. Try finding > that little bugger at 1600x1280... > > Jackson Miller wrote: > > Why is it that when you forget a "}" the error says: >

Re: [PHP] auto 'jump' to link

2003-09-03 Thread Jackson Miller
header("Location: $url"); hope this helps. -Jackson On Thu, 2003-09-04 at 00:32, DougD wrote: > I've seen this somewhere (or I've gone crazy), but a function in PHP that > automatically forwards you to another web page. If want to do an 'if x=5 > then jump to this other page on the site or an e

Re: [PHP] Validating Subdomain E-mail Addresses Using Regular Expressions

2003-09-08 Thread Jackson Miller
tsparkdigital.com/ > > > -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED] > > > Search the archives or ask google. -- jackson miller cold feet creative 615.321.3300 / 800.595.4401 [EMAIL PROTECTED] cold feet presents Emma the world's easiest email mar

Re: [PHP] RE: Upload seems to time out over 7.5 M

2003-09-10 Thread Jackson Miller
> The only timeout (that I *know of!*) that I don't know how to change is the > Apache timeout of 300 seconds. It appears that it is indeed timing out > after 300 seconds (five minutes). It shows as HTTP_KEEP_ALIVE = 300 in > phpinfo(). There is also a setting in Apache for the maximum size of a

Re: [PHP] MySql temporary tables

2003-09-15 Thread Jackson Miller
created them. Using pconnect it was a crap shoot as to whether you would get the same connection on the next page load. Temporary tables should only be used (from within PHP) for the current page view. -Jackson > > > Regards, Andu Novac -- jackson miller cold feet creati

[PHP] output to Excel

2003-09-16 Thread Jackson Miller
Is there a way to output PHP to MS Excel format? -Jackson -- jackson miller cold feet creative 615.321.3300 / 800.595.4401 [EMAIL PROTECTED]     cold feet presents Emma the world's easiest email marketing Learn more @  http://www.myemma.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] output to Excel

2003-09-16 Thread Jackson Miller
On Tuesday 16 September 2003 4:17, Payne wrote: > Jackson Miller wrote: > >Is there a way to output PHP to MS Excel format? > > > >-Jac > > One you can do a dump with mysqladmin save the file as myfile.csv , > excel can read cvs formatted files. > > Two you can

Re: [PHP] Re: Accepting data from URL Parameters

2003-09-24 Thread Jackson Miller
t; > > http://www.foo.com/myscripts/myscript.php?Value1=value&Value2=value > > > > How can I retrieve those values in the script? Should I construct the > > link differently? Is there a completely different method I'm missing > > altogether? > > > >

[PHP] PHP & QT/KDE

2003-09-25 Thread Jackson Miller
Does anyone know of any projects to bring QT/KDE GUI bindings to PHP? It would be VERY cool to have something like PyKDE for PHP. Especially once PHP5 is released and SQLite is part of the KDe interpreter. I know there is PHP-GTK, but it's development appears stale. -Jackson -- ja

Re: [PHP] What is the proper way to use mysql db on a multipage site?

2003-09-26 Thread Jackson Miller
eloper's Handbook > http://httphandbook.org/ -- jackson miller cold feet creative 615.321.3300 / 800.595.4401 [EMAIL PROTECTED]     cold feet presents Emma the world's easiest email marketing Learn more @  http://www.myemma.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Array question

2003-09-27 Thread Jackson Miller
This means: $array is an array aCheckBoxes is a item in $array aCheckBoxes is also an array $iIndex is an item in the aCheckBoxes array $iIndex is an array. Hope this helps. -Jackson > > Thank you in advance. > > Robin 'Sparky' Kopetzky > Black Mesa Computers/Internet

Re: [PHP] PHP & Rading excel files

2003-09-29 Thread Jackson Miller
; (/)_ (\)_ V_/_ 2 Av du vieil étang * 78181 MONTIGNY-LE-BRETONNEUX > Tél : +33 1-30-03-47-83 * Fax : +33 1-30-03-42-10 -- jackson miller cold feet creative 615.321.3300 / 800.595.4401 [EMAIL PROTECTED]     cold feet presents Emma the world's easiest email marketing Learn

Re: [PHP] Evolution syncing

2003-09-29 Thread Jackson Miller
this already? I'm particularly > interested in the part of the sync with Evolution. The closest I've seen > to getting started in the right direction is MultiSync on sourceforge. -- jackson miller cold feet creative 615.321.3300 / 800.595.4401 [EMAIL PROTECTED]     cold feet prese

[PHP] OOP, dynamic class extention

2003-10-30 Thread Jackson Miller
I want to be able to set a base class in a settings file, and then have other classes extend the base class, but PHP won't let me do what I have tried. I get the following error: Fatal error: Class cepweb: Cannot inherit from undefined class my_base_class in /home/me/my_child_class.php on line 1

Re: [PHP] OOP, dynamic class extention

2003-10-30 Thread Jackson Miller
On Thursday 30 October 2003 12:29 pm, Marek Kilimajer wrote: > php is not c, you can't use constants this way. but why? Is there a work around? -Jackson > > Jackson Miller wrote: > > I want to be able to set a base class in a settings file, and then have > > other cla

Re: [PHP] OOP, dynamic class extention

2003-10-30 Thread Jackson Miller
_CLASS="base_class"; > define("MY_BASE_CLASSFILE","base_class.php"); > > // require the class file > require_once(MY_BASE_CLASSFILE); > > class my_child_class extends $MY_BASE_CLASS { > // yada yada > } > ?> > > Jackson Miller wrot

Re: [PHP] OOP, dynamic class extention

2003-10-30 Thread Jackson Miller
On Thursday 30 October 2003 02:15 pm, Marek Kilimajer wrote: > Can you show it once again. In your first email you use a constant, not > variable. Sure. In my first email I said that I had tried with a variable too (but didn't show the code). Ex1 gives a "cannot inherit from undefined class" err

RE: [PHP] Cheap, PHP, mySQL hosting!

2002-02-13 Thread Jackson Miller
I have been using http://www.cedant.com for about a year now. They have different packages for different needs. -Jackson -Original Message- From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 12:04 PM To: [EMAIL PROTECTED] Subject: [PHP] Cheap, PHP, myS

[PHP] Advanced books

2002-02-14 Thread Jackson Miller
I am looking for advanced books on PHP. I have read many tuts and a couple of books, but I am looking for a big heavy detailed book on php and everything about coding php. any suggestions are welcomed. -Jackson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

RE: [PHP] Text editor for linux

2002-02-16 Thread Jackson Miller
I am using Komodo from Active State. http://www.activestate.com It runs in windows and Linux. On Sat, 2002-02-16 at 09:17, Matthew Darcy wrote: > there is a way of using vi/vim to highlight syntax with PHP and HTML. > > I am playing with it at the moment. > > Matt, > > > -Original Messag

[PHP] Checking for TTF in a script

2002-04-16 Thread Jackson Miller
I am working on am application that is using the GD library to create the navigation menu. I would like to check for TTF support in a script before I declare the image size. The reason for this is so I can create width based on the length of the string if TTF is enabled and take a guess if TTF

Re: [PHP] Nasty DoS in PHP

2002-04-17 Thread Jackson Miller
I crashed a server yesterday from PHP code that was trying to create an image with GD. The same scenerio happened in that my entire box froze. No keyboard control, no mouse, no CTRL-ALT-F2, nothing. This was also due to a header() in an infinite loop. From my perspective I thought that was bad

[PHP] comparing time (related question)

2002-04-24 Thread Jackson Miller
When storing dates and times in databases is it better to store them as UNIX timestamps or in one of the SQL date/time types? I am working on an application that takes school attendance and has homework assignments, so I am doing a fair amount of date work. Currently I am storing everything as d

Re: [PHP] good php editor for the mac

2002-04-26 Thread Jackson Miller
There is a PHP plugin for Dreamweaver from AlphaSigma. http://www.alphasigma.com -Jackson On Fri, 2002-04-26 at 13:33, Tom Beidler wrote: > Could someone suggest a good php editor for the mac? I'm currently using > Dreamweaver because I like the site management and a wysiwyg html editor. > But o

[PHP] Variables within variable names

2002-05-02 Thread Jackson Miller
I want to do something along the lines of: $type = "basic"; $$type_user = "jaxn"; echo $basic_user; and have the output be "jaxn". I have tried everything I can think of, and I have looked in all my books. I know how to: $type = "basic"; $$type = "jaxn"; echo $basic; but this won't do what I

[PHP] Creating IMAP accounts

2002-05-30 Thread Jackson Miller
Is there a way to create IMAP accounts using PHP? I have looked through all of the IMAP functions in PHP and do not see one for creating a new account. I would like to create a new IMAP account when a user registers for a website account. Thanks in advance. -Jaxn -- PHP General Mailing List

[PHP] images with GD

2002-02-25 Thread Jackson Miller
I have been playing around with creating images in php using GD, and I have some questions for the list. How much more processing power does it take to create an image versus just sending the image? Aside from photo album type apps, how are people using GD? Is GD well suited for navigational im

RE: [PHP] Stupid Question

2002-02-28 Thread Jackson Miller
I thought that you do have to recompile if you are running PHP as a module, but not if you are running PHP as CGI. I could be wrong. -Jackson -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 12:28 PM To: PHP List; php Subject: Re: [PHP] S

[PHP] Update database via email

2002-03-11 Thread Jackson Miller
I am working on a site that I would like to be able to update content (basically news stories) on via email. I am sitting with the problem trying to figure out the best way to do this before I start coding. I am curious if anyone else has done this and has a list of "lessons learned" that they w

[PHP] ICAP/ MCAL Calendaring

2002-03-13 Thread Jackson Miller
I am having a hard time finding recent mentions of using MCAL or ICAP with PHP. I need to add some shared calendaring to an project I am working on. I have been looking at MCAL and ICAP hoping to find out if they are viable. Is the best way to do calendaring in PHP to use a database or is there

Re: [PHP] PhP & Javascript Mixed Repost Fields

2002-04-01 Thread Jackson Miller
That seems like over complicating the problem to me. Why not just include the original query string that was passed from fooa.php by: header("Location:foa.php?$QUERY_STRING") -Jackson On Mon, 2002-04-01 at 12:28, Simos Varelakis wrote: > > > Here is a problem :-) > > A php post form fooa.php

Re: [PHP] arguments against php / mysql?

2002-04-10 Thread Jackson Miller
I have been using Win2K with Apache/MySQL/PHP for about 8 months for an intranet site. It is a mission critical intranet database for keeping track of attendance/grades for a high school. I have had no problems (read: not a single one!) HTH -Jackson On Wed, 2002-04-10 at 12:30, Mallen Baker w

[PHP] __call and static methods

2004-09-28 Thread Jackson Miller
Is there a way to get __call to work for static methods? It doesn't seem to work by default and the docs are pretty sparse. Thanks, -Jackson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] __call and static methods

2004-09-28 Thread Jackson Miller
So, now you have found the static method docs, and you have found the very minimal __call() docs but you have not come close to answering anything about using call with static methods. For those who seem to miss the point, a static method call would be like: $a = Caller::test(1, "2", 3.4, true);