Re: [PHP] How creat image pointer from JPG/GIF string?

2002-04-09 Thread Robert Cummings
s it is buggy. I suggest trying it out and if that fails then pull your image from the database, write to a temporary file, and then use imagecreatefromjpeg() as per usual. Cheers, Rob. -- .-. | Robert Cummings | :-`--

[PHP] includes

2002-04-09 Thread Robert Abbate
I have a directory with php files that I incorporate into my website as libraries via a php_include() call, I would like the path to include my library directory so I can include the library files from any directory. There is no way to overload php's include path on a user by user basis? Thanks

RE: [PHP] AS/400 data access

2002-04-09 Thread Collins, Robert
Thanks. Unfortunately this project is on a windows based platform, but this may head me in the right direction. Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: Matt Schroebel [mailto

RE: [PHP] AS/400 data access

2002-04-10 Thread Collins, Robert
Credit for the instructions goes to Matt Schroebel not myself. Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: Dan Vande More [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 5

[PHP] newbie html forms primer help

2002-04-10 Thread ROBERT MCPEAK
I need some help with html forms. I primer on html forms and variables is much needed. Anybody have some code snipets to share? I'm getting acquainted with $HTTP_POST_VARS but need some help in accomplishing a couple of things. I'd like to collect all "checkbox" input variables and stick the

Re: [PHP] newbie html forms primer help

2002-04-11 Thread ROBERT MCPEAK
others. Is there a smarter way to do this? Thanks Bob >>> Erik Price <[EMAIL PROTECTED]> 04/10/02 04:27PM >>> On Wednesday, April 10, 2002, at 04:12 PM, ROBERT MCPEAK wrote: > I need some help with html forms. I primer on html forms and variables > is much needed.

Re: [PHP] Tutorial on proper code formating

2002-04-11 Thread Robert Cummings
My vote goes to the inline method which I am the only one to use where I work :( But it is far cleaner even if it is less compact. Cheers, Rob. -- .-. | Robert Cummings | :-`. | Webdeployer - Chief PHP and Java Programmer

[PHP] unique ID

2002-04-11 Thread ROBERT MCPEAK
Could somebody share with me a simple way to create a unique numeric ID for a new record in a mySQL db? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] include through HTTP

2002-04-12 Thread Collins, Robert
Check the Note about 5 lines down on this page. http://www.php.net/manual/en/features.remote-files.php "Note: You can't use remote files in include() and require() statements on Windows." Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504)

Re: [PHP] PHP Training is New York

2002-04-12 Thread ROBERT MCPEAK
Can't make it to this one but would like to know of any other training opps in the Balt-Wash-Phil-NY areas. Anybody know of a good source for this info? >>> "Daniel Kushner" <[EMAIL PROTECTED]> 04/12/02 10:48AM >>> LAST DAY TO REGISTER http://websapp.com/training.php --Daniel -- PHP Gene

RE: [PHP] 2 newbie questions ;)

2002-04-12 Thread Collins, Robert
is associated with that file type. Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: Steve Bradwell [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 9:20 AM To: [EMAIL PROTEC

[PHP] PHP Shopping Engine Recommendation

2002-04-15 Thread Collins, Robert
Can anyone recommend a good commercial shopping cart written in php? Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] newbie: unix/php/mySQL permissions

2002-04-15 Thread ROBERT MCPEAK
I'm very new to php & mySQL and need some help understanding how I should set up my Unix permissions. I would like to run php code that could delete/create/edit existing files. I've tried to issue the load data infile statement from the command line but mySQL gives me a permissions error. How

[PHP] newbie: unix/php/mySQL permissions

2002-04-15 Thread ROBERT MCPEAK
I'm very new to php & mySQL and need some help understanding how I should set up my Unix permissions. I would like to run php code that could delete/create/edit existing files. I've tried to issue the load data infile statement from the command line but mySQL gives me a permissions error. How

[PHP] newbie: unix/php/mySQL permissions

2002-04-15 Thread ROBERT MCPEAK
I'm very new to php & mySQL and need some help understanding how I should set up my Unix permissions. I would like to run php code that could delete/create/edit existing files. I've tried to issue the load data infile statement from the command line but mySQL gives me a permissions error. How

RE: [PHP] who added the damn slashes?

2002-04-15 Thread Robert Covell
I believe your php.ini file has the magic_quotes set to On. If you switch this to Off it will no long add the quotes for you. Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com Email: [EMAIL PROTECTED] Phone: 816.471.1095 Fax: 816.471.3447 24x7

Re: [PHP] eregi() problems...

2002-04-15 Thread Robert Cummings
ng? > Thanks in advance, I hope I'm reading right... it seems you want to filter OUT files with the extension '_.jpg' the above check appears to be filtering out everything BUT these files. I think you want the following check: if( $file_names != "." &am

Re: [PHP] calculating US holidays

2002-04-15 Thread Robert Cummings
t; > I need to calculate the date to see if it's a holiday, i.e. is today > > presidents day, which happens to be the third monday of february. Can > > someone point me to some code that can do that? > > > > > > -- > > PHP General Mailing Li

RE: [PHP] SSL & php

2001-11-10 Thread Robert Klinkenberg
ormal email program to read the mail. Robert Klinkenberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Running PHP from Telnet/Cron

2001-11-12 Thread Robert Kemp
== Command Line 2 (Cron) == php /home/rkemp/public_html/sec/admin/sitemaint.php > /dev/null Has anyone seen this error before, and if so have you come up with a solution? Thanks, Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

[PHP] Adding Dates (To Obtain Future Dates)

2001-11-13 Thread Robert Miller
This problem took a while to figure out. I'm posting the solution so that = other's may find this example. If you know of a better way, please reply. = :-) Cheers, Rob Problem: Generate Future Dates: Sub-Problem: Future Dates are Dictated by Record Type (Permanent or = Temporary) The Script: $

[PHP] PDF Library Not Working (Call to undefined function)

2001-11-13 Thread Robert Miller
I RTFM but did not find a solution. My head hurts from banging it against = the wall. :-P Apache, OpenSSL, MySQL and PHP work fine... but the PDF libraries will not = work. I used the following configure commands: PHP: './configure' '--with-mysql=3D/usr/local/mysql/' '--with-xml' = '--with-apac

RE: [PHP] alzheimers and confused

2001-11-17 Thread Robert Klinkenberg
t tests for if !jpg and !jpeg another way to test this is if !(jpg or jpeg) basicly the first one doesn't work because when the filename is jpg it isn't jpeg so the code executes and when it's jpeg it isn't jpg, and again the code will execute. the two other tests will co

[PHP] SAFE_MODE + deleting files

2001-11-22 Thread Robert Mena
Hi, I have enabled the safe mode in a virtual host that uses php in order to try to prevent the user from uploading (via ftp) a php that could sniff around other's people files. Unfortunately I got stucked in a problem. this site uses php to upload and manage some files remotely. The webserver

[PHP] Stripping Unwanted Characters

2001-11-24 Thread Robert Miller
I'm posting this (see below) for two reasons: 1. so that others may benefit, and 2. to invite feedback on my code (PHP is the first language I have learned... and I've only been doing this for a week or so). Cheers, Rob P.S. Has anyone found a good way to parse variables to validate specific f

[PHP] Version To Version

2001-12-07 Thread Robert Covell
A question about different release versions of PHP. Why do things like png from gd 1.8 work in 4.0.4p1 and stops working in 4.0.6? We had to go back to 4.0.4p1. I have seen similar things with mysql support. We used the same config script for each version. Any ideas? -- PHP General Mailing

RE: [PHP] Version To Version

2001-12-07 Thread Robert Covell
er 07, 2001 10:31 AM To: Php-General Subject: Re: [PHP] Version To Version I'm using gd png in 4.0.6 with no problems (Windows). What problems are you having? Robert Covell wrote: > A question about different release versions of PHP. > > Why do things like png from gd 1.8 work i

RE: [PHP] Client Side Printing

2001-12-19 Thread Robert Klinkenberg
'plain' html page to the client. It can't do any client side processing. Javascript(and java apps) on the other hand are run on the client and can interface with the browser. Robert Klinkenberg -Oorspronkelijk bericht- Van: Ye Tun [mailto:[EMAIL PROTECTED]] Verzonden: Wednesd

[PHP] If/else conditional statement ...

2001-12-23 Thread Robert Dyke
// error is generated here ... Is there some way to do it this way in PHP? I'd rather not create a huge variable and then echo that. Thanks in advance. Robert Dyke Montana Software http://www.montanasoft.com/ [EMAIL PROTECTED] * For the best results please include the text of th

Re: [PHP] If/else conditional statement ... in an include file ...

2001-12-23 Thread Robert Dyke
essage [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > At 01:11 PM 12/23/2001 -0700, Robert Dyke wrote: > >Hello: > > > >In ASP I can write a Conditional statement like this: > > > ><% If $varA == True Then %> > >Straight HTML in here that only disp

[PHP] 4.0.6 Vs. 4.1.0 ?

2001-12-23 Thread Robert Dyke
Pros and Cons? Thanks in advance. Robert Dyke Montana Software http://www.montanasoft.com/ [EMAIL PROTECTED] * For the best results please include the text of this message (cut and paste if necessary) in your reply * -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

[PHP] Re: How to compile Apache/PHP

2001-12-24 Thread Robert Dyke
Hi Todd: There is an extremely good book for what you need. It's called "PHP: Fast and easy web development" by Julie C. Meloni (PrimaTech publishers). The first three chapters cover installation of MySQL, Apache Web Server, and PHP -- in that order, and with emphasis on configuring them to al

[PHP] libclntsh.so.8.0 : oracle+php under linux rh 6.2

2001-03-22 Thread Robert Mena
Hi, I've succesfully installed a oracle 8.1.7 (chose server option) under a development redhat 6.2 box. I've compiled php as DSO with a --with-oci8=path/to/ORACLE_HOME and it compiled ok. If I try to start httpd I keep getting Cannot load /etc/httpd/modules/libphp4.so into server: libclntsh.so.

[PHP] Oracle + apache + php + linux Red Hat 6.2(update)

2001-03-22 Thread Robert Mena
Hi, I've managed to install oracle and to compile and install php (--with-oci8). Unfortunately when I start the server it gives me a httpd dead but subsys locked. Searching the archives I found one link to PHP.net manual (http://www.php.net/manual/en/ref.oci8.php) where it tells me that I shoul

RE: [PHP] Post but not Post

2001-03-28 Thread Robert Covell
I was just doing this a while back and ran into problems when going to 443. Any ideas on that? A regular fsockopen failed because of the security needed. -Bob -Original Message- From: Jason Brooke [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 5:55 PM To: Peter Houchin; [EMA

[PHP] Re: Complex mysql query

2001-03-29 Thread Robert Vetter
t; ); > > > I got more tables but the others are not interesting in the specific > query i want to make. > SELECT artist.name,produits.name,provider.name FROM artist LEFT JOIN produits ON artist.ID=produits.artist_ID LEFT JOIN provider ON produits.provider_ID=provider.ID WHERE provider.name LIKE 'some_name'; Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Better way (if...elseif...else)

2001-03-30 Thread Robert Vetter
"Ashley M. Kirchner" wrote: > > Is there a better way to write the following snippet: > > if ($priority == "000") { > $fcol="high"; > $pstr .= "High\n"; > $pstr .= "Medium\n"; > $pstr .= "Low\n"; > } elseif ($priority == "050") { > $fcol="med"; >

Re: [PHP] PHP Editor for Linux

2001-03-30 Thread Robert Vetter
Martin Cabrera Diaubalick wrote: > > Hi there! > > I use bluefish for HTML and PHP coding, but I'm not too happy with it. Do > you know a good PHP Editor for Linux, besides Emacs and xjed...? > Try nedit... Robert -- PHP General Mailing List (http://www.php.net/)

[PHP] freetype info required

2001-04-02 Thread Robert Vetter
Could someone please supply me with a little information about freetype fonts concerning the following points of interest: 1/ A good description of what it actually is. 2/ How to actually use it in a practical sense hopefully in conjunction with php. 3/ Supply of some small code snippets showing r

RE: [PHP] scramble the code

2001-04-05 Thread Robert Covell
Just did this sort of thing and my solution might not be the best or the most secure but it does scramble the code. I really wasn't trying to make an unbreakable query string, just something that would be a deterrent. All I did was use base64_encode and decode like: Incoming: $dec = base64

Re: [PHP] Back Button Dilemma's

2001-04-10 Thread Robert Vetter
nly server-side? Please attach the code. Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] PHP with JAVA support

2001-06-19 Thread Robert Vetter
Now, when I try to instantiate a JAVA class I get this error: Fatal error: Cannot instantiate non-existent class: java in /usr/local/apache/htdocs/index.php on line 3. Does anybody have expirience with running JAVA with PHP? I don't know why it doesn't work. I use PHP 4.05 on a Debian Linux machine. Thanks. Robert

[PHP] PHP with JAVA support

2001-06-19 Thread Robert Vetter
Now, when I try to instantiate a JAVA class I get this error: Fatal error: Cannot instantiate non-existent class: java in /usr/local/apache/htdocs/index.php on line 3. Does anybody have expirience with running JAVA with PHP? I don't know why it doesn't work. I use PHP 4.05 on a Debian Linux machine. Thanks. Robert

[PHP] PHP with JAVA support

2001-06-19 Thread Robert Vetter
Now, when I try to instantiate a JAVA class I get this error: Fatal error: Cannot instantiate non-existent class: java in /usr/local/apache/htdocs/index.php on line 3. Does anybody have expirience with running JAVA with PHP? I don't know why it doesn't work. I use PHP 4.05 on a Debian Linux machine. Thanks. Robert

RE: [PHP] logout

2001-06-20 Thread Robert Covell
and remember the state: authorizing, logged in, not logged in (default) you can manage the entire process.   As of right now, there is no way to tell the browser to "Log Out".  Some combination of the above must be used. Sincerely,Robert T. CovellPresident / OwnerRolet Internet Servic

[PHP] Which DB abstraction ?

2001-06-21 Thread Robert Mena
Hi, I am in a middle of the process of chosing which DB will be used for future projects. I've been using Mysql for almost 5 years (coupled with php of course) but it seems to have reached it's limits (actually the lack of some features). The other options include some traditional comercial dbs

Re: [PHP] PHP with JAVA support

2001-06-21 Thread Robert Vetter
Jim Kirkpatrick wrote: > > Robert, > > Please include the php code you're using to instantiate the class. That will > give me a better idea of what to suggest. > Hi Jim, Thanks for the response. Here comes the code: getProperty("java.version").&quo

Re: [PHP] Code check please

2001-06-21 Thread Robert Vetter
t;) ) { > echo ("Unable to locate the database at > this time."); > exit(); > } > > // MySQL query > $sql = "INSERT INTO tabell SET" . > "fornamn ='$fornamn'," . > "efternamn='$efternamn'," . > "email='$email';"; > ?> Hello, and where is the mysql_query($sql) function call? Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] 4.0.6 + mcrypt = segmentation fault

2001-06-30 Thread Robert Mena
Hi, I've recently downloaded and instaled PHP4.0.6 in my linux box. Eveything seems fine expect by the fact that my mcrypt scripts started to cause a segmentation fault in apache. libmcrypt 2.4.4 php 4.0.6 Linux RedHat 7.0 + updates ldd libphp4.so libpam.so.0 => /lib/libpam.so.0 (0x4014f000)

RE: [PHP] Stopping stolen / spoofed / linked sessions

2001-06-30 Thread Robert Klinkenberg
slows down the site. Also, it's not that hard to create cookies by hand so that won't stop people who realy want to enter your site :-( and remember sessions are not meant to be secure, that is why we have SSL :-) Robert Klinkenberg > -Oorspronkelijk bericht- > Van: Bil

[PHP] To be or not to be : safe mode

2001-07-03 Thread Robert Mena
Hi, I've decided to turn on/set safe_mode, document_root and open_basedir in apache's httpd.conf in order to make the scripts a little more secure (some upload files such as image) in a virtual host. Everything worked fine except for a couple of scripts. Those scripts (used for file upload) firs

[PHP] PHP/Apache security question : bugtraq, suExec etc

2001-07-09 Thread Robert Mena
Hi, I follow bugtraq and recently there was a thread regarding safe_mode of php and how to "break" it. The thread was killed without a conclusion to where this is really a new threat or the same problem (scripts executed with sage uid/gid of the web server). So, I was wondering if the php-dev tea

[PHP] enable_dl : manual not clear enough?

2001-07-09 Thread Robert Mena
Extension Loading Directives Hi, While reading the english version of the manual I got stucked in a part that seems a little confusing. "enable_dl boolean This directive is really only The main reason for turning dynamic loading off is security. With dynamic loading, it's possible to igno

[PHP] Converting from paradox DB to mysql

2001-07-13 Thread Robert Mena
Hi, Does anybody knows how can I convert from a Paradox DB to mysql ? I've searched freshmeat.net but pxtools gives me core dump and unixODBC seems to be "just" the driver (i.e I'd have to write a convertion tool). Thanks. __ Do You Yahoo!? Get p

[PHP] Cannot add SNMP support

2001-07-16 Thread Robert Covell
I have been trying to add snmp support into PHP 4.0.4pl1 and 4.0.6 without success. The box currently has ucd-snmp-4.2.1 on it and is working fine with our mod_perl installation. When we configure it with --with-snmp and --enable-ucd-snmp-hack it configures fine and lists the it has found SNMP.

[PHP] Unusual error.

2001-07-20 Thread Robert Reed
it's supposed to look into for the data. Using the old table, it's fine, The new table, it gives me the above error. Any suggestions? Robert Reed ([EMAIL PROTECTED]) WWW - http://www.theextreme.net --- "This body here reminds me o

[PHP] Verisign pfpro functions in Windows environment ... newbie ...

2001-07-20 Thread Robert Dyke
if PHP has been compiled with the --with-pfpro[=DIR] option." Does anybody know where I can get the win32 binary compiled with that option? Is there a line I can add in the php.ini file? TIA -- Robert Dyke [EMAIL PROTECTED] -- Robert Dyke Montana Software http://www.montanasoft.com

[PHP] SNMP

2001-07-24 Thread Robert Covell
I have been trying to add snmp support into PHP 4.0.4pl1 and 4.0.6 without success. The box currently has ucd-snmp-4.2.1 on it and is working fine with our mod_perl installation. When we configure it with --with-snmp and --enable-ucd-snmp-hack it configures fine and lists the it has found SNMP.

RE: [PHP] \ problem

2001-07-24 Thread Robert Covell
Try stripslashes or something like that (not sure on the name of the function). It is the opposite of addslashes. If you look for addslashes in the function list that you will see the other one. Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com

RE: [PHP] Example high-profile PHP sites

2001-07-26 Thread Robert Collins
www.insight.com is a publicly traded fortune 1000 company. The site is 50% php now and will be launching its new site this week that will move it up to 90% php. a demo will be available today. -Original Message- From: Maurice Rickard [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 200

[PHP] Array Bug?

2001-07-30 Thread Robert Covell
efault values whereas 4.0.6 did. I have gone back to PHP 4.0.4pl1 for now. Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com Email: [EMAIL PROTECTED] Phone: 816.210.7145 Fax: 816.753.1952 -- PHP General Mailing List (http://www.php.net/) To unsubsc

RE: [PHP] Array Bug?

2001-07-30 Thread Robert Covell
Thanks for the heads up. I wanted to see if anyone else was having a similar experience before filing a bug. Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com Email: [EMAIL PROTECTED] Phone: 816.210.7145 Fax: 816.753.1952 -Original Message

[PHP] buildconf

2001-07-31 Thread Robert Borden
I am getting this error when tring to ./buildconf rebuilding configure ./aclocal.m4:929: error: m4_defn: undefined: _m4_divert_diversion ./aclocal.m4:472: PHP_SUBST is expanded from... ./aclocal.m4:929: the top level rebuilding main/php_config.h.in autoheader: error: shell error while sourcing /t

[PHP] ./buildconf error

2001-07-31 Thread Robert Borden
I am getting this error when tring to ./buildconf buildconf: checking installation... buildconf: autoconf version 2.50 (ok) buildconf: automake version 1.4-p5 (ok) buildconf: libtool version 1.4 (ok) WARNING: automake and libtool are installed in different directories. This may cause acl

RE: [PHP] Re: Host OnLine ?

2001-08-06 Thread Robert Collins
Why not use ping like -Original Message- From: Arcadius A. [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 10:17 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Host OnLine ? What if the host I'm checking is a simple workstation not running neither a HTTP nor a FTP server ? I'm

RE: [PHP] SNMP and PHP

2001-08-14 Thread Robert Covell
I had the same problem and never got it working on Linux. Posted a very similar question and got one response from someone that got it working on FreeBSD but that was it. Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com Email: [EMAIL PROTECTED

[PHP] Segmentation fault (11) : mcrypt

2001-08-14 Thread Robert Mena
Hi, I've trying to use mcrypt and php (4.06 or 4.07-dev) with no luck. Everytime I use I got a [notice] child pid 16630 exit signal Segmentation fault (11) in my apache's error.log. I am using the latest libmcrypt-2.4.15 and php (a hour ago cvs update). Is this a known bug ? './configure' '--w

[PHP] Re: to include php file into html file

2001-08-15 Thread Robert Hennig
. To include one php-file into another use "include()" or "requires()". Examples and hints to this functions could be found in the PHP-Manual. Robert "Jack" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 02ff01c1259a$ebec2e80$[EMAIL PROTECTED]">news:02ff01c1

[PHP] Re: button on PHP page

2001-08-15 Thread Robert Hennig
action ( e.g. >) Robert "Michael McNeice" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > > How do i use a form button to call a php function? > > Thanks > > > > -- PHP General Mailing List (http://

[PHP] Shuffle Cards Function

2001-08-18 Thread Robert Schultz
h($cardsArray, array_shift($newCardsArray)); } } if(count($firstArray)) { while(count($firstArray)) array_push($cardsArray, array_shift($firstArray)); } if(count($secondArray)) { while(count($secondArray)) array_push($cardsArray, array_shift($secondA

[PHP] More SNMP Functions for PHPv4

2001-08-19 Thread Robert Schultz
http://www.ncinter.net/~bert/php-snmp-v4.tar.gz Enjoy. Robert Schultz - [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Re: Shuffle Cards Function

2001-08-19 Thread Robert Schultz
mick a non-perfect human shuffle. Robert Schultz - [EMAIL PROTECTED] - Original Message - From: "Tom Carter" <[EMAIL PROTECTED]> To: "Richard Lynch" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, August 19, 2001 7:00 PM Subject: Re: [PHP] Re

[PHP] Zend Optimizer under Linux Sparc

2001-08-20 Thread Robert Schultz
It appears as if the Zend Optimizer is distributed only in binary format. They have versions for Linux on i386 and versions for Solaris running on a Sparc Ultra processor. However, I'm running Linux RedHat on a Ultra Sparc processor. Is there any way I can install Zend Optimizer? R

[PHP] Asynchronous SNMP?

2001-08-30 Thread Robert Schultz
cript will grab from there. Any suggestions? -- Robert Schultz - [EMAIL PROTECTED] Knowledge Engineer - Adelphia Communications -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list ad

[PHP] Re: Question about mail()

2001-09-04 Thread Robert Lindgren
Php uses sendmail, atleast on Unix systems. Alex Shi wrote: > Hi, > > I have a question regarding to mail() function: > Does mail() function use sendmail, or just use a mail program of php? > If it uses a mail program other than sendmail, how can configure it to > work correctly? > > Alex >

[PHP] command line parser

2001-09-04 Thread Robert Lindgren
Hi Does anyone know if there's a php command line parser, that lets you run php-scripts from the command prompt instead of running them over http. (much like perl) Regards Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

[PHP] mcrypt segfault (still)

2001-09-05 Thread Robert Mena
Hi, a couple of weeks ago I posted a problem with mcrypt under php with at least 4.0.5,4.0.6 and 4.0.7-dev. The server works ok until you use a mcrypt function (it segfaults). The bug has been reported in bugs.php.net and assigned. Unfortunately so far no solution or news regarding this. Does

[PHP] reading arrays within a field from mysql and separating the values

2001-09-10 Thread Robert Trembath
Gel name1 name2 name3 name4 Anyone know how to fix this? Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] Ip Address to binary

2001-09-12 Thread Robert Covell
You could use MySql's built in functions: INET_NTOA() INET_ATON() Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com Email: [EMAIL PROTECTED] Phone: 816.210.7145 Fax: 816.753.1952 -Original Message- From: Jason Bell [mailto:[EMAIL PROT

[PHP] Overriding PHP build-in functions

2001-09-15 Thread Robert Klinkenberg
so that it decodes the file while reading it from disk) Robert Klinkenberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Permutation in PHP

2001-09-16 Thread Robert Mena
Hi I am looking for an algorithm to generate the permutation of the elements of a vector, say . Does anybody know / have implemented such (in PHP or different languages). Best regards. __ Terrorist Attacks on U.S. - How can you help? Donate cash,

RE: [PHP] MySQl IP Address Storage

2001-09-20 Thread Robert Covell
INET_ATON and INET_NTOA -Original Message- From: Felix [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 20, 2001 11:49 AM To: PHP list Subject: [PHP] MySQl IP Address Storage Hello all Can anyone suggest their best idea for a way to store IP addresses in a MySQL Database? Felix

[PHP] Embedding JavaScript into a PHP generated web page

2004-07-25 Thread Robert Frame
Hi There, I have a web page with a form that is generated by PHP, and part of my design utilizes JavaScript to provide some error checking within the objects in the form. I have written the javascript in an html document, but I am having trouble blending the two together. I have tried sending th

Re: [PHP] PHP Web Mail

2004-07-25 Thread robert mena
Yeah, but it is slow as hell. webmiau in the other way is fast On Mon, 5 Jul 2004 12:45:33 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Try www.horde.org > > It's not only a webmail client, but has a whole load more! > > Nunners > > Quoting "I.A. Gray" <[EMAIL PROTECTED]>: > > > Tha

[PHP] Re: Embedding JavaScript into a PHP generated web page

2004-07-25 Thread Robert Frame
te. Off hand though, can anyone tell me what is? Thanks for the help. Rob "Robert Frame" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi There, > > I have a web page with a form that is generated by PHP, and part of my > design utilizes JavaScript to pro

[PHP] Re: Embedding JavaScript into a PHP generated web page

2004-07-25 Thread Robert Frame
OK, now I am bewildered again. Sample Code '; echo ' '; ?> ... echo ' '; As soon as I hit the button 'Window' I get an ''object expected" error. Any thoughts? Rob "Robert Frame" <[EMAIL PROTECTED]> wrote in message news

[PHP] URGENT: Space char in rewriterule

2004-07-25 Thread Robert Winter
I have the following rewriterule: RewriteRule ^(([0-9]|[A-Z]|[a-z]|_)+)$ redirect.php?$1 [L] that transforms http://mysite.com/XXX to http://mysite.com/redirect.php?XXX and I need to also include to space char, for example that transforms http://mysite.com/AB XX to http://mysite.com/redirect.ph

Re: [PHP] Re: Embedding JavaScript into a PHP generated web page

2004-07-25 Thread Robert Frame
ters in after the ash young :: http://evoluted.net/ > > -Original Message- > From: Robert Frame [mailto:[EMAIL PROTECTED] > Sent: 26 July 2004 01:13 > To: [EMAIL PROTECTED] > Subject: [PHP] Re: Embedding JavaScript into a PHP generated web page > > OK, now I am bewil

RE: [PHP] Is there a brian I can pick?

2004-07-26 Thread Robert Sossomon
that column of data to populate the system, since you are calling everything anyways, why work more when another column can be used and have multiple uses?? My $.02 Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] URGENT: Space char in rewriterule

2004-07-26 Thread Robert Winter
It didn't work. Still the same problem. Thanks "Marek Kilimajer" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Robert Winter wrote: > > I have the following rewriterule: > > > > RewriteRule ^(([0-9]|[A-Z]|[a-z]|_)+)$ redire

Re: [PHP] Handles for multiple output buffers?

2004-08-02 Thread Robert Cummings
On Tue, 2004-08-03 at 00:44, Justin Patrin wrote: > On Tue, 03 Aug 2004 00:11:09 -0400, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > Again, the internals list sent me to this forum for help. > > > > In trying to create a series of parsers in PHP, using only PHP core and no > > non-standard

RE: [PHP] multiple checkboxes

2004-08-03 Thread Robert Sossomon
You need to do: Keeping the name the same makes them a RADIO button and you will only get the last one. Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] multiple checkboxes

2004-08-03 Thread Robert Sossomon
Sorry, day late and a dollar short on that one... Never once thought about using an array, but after seeing John's and Curt's emails on it (when I realized I was NOT at the top of my emails) I saw how brilliant a solution that is... Robert -- PHP General Mailing List (http://www.ph

[PHP] Easy Question (I think)

2004-08-03 Thread Robert Frame
I am sure this is an obvious answer, but dang if I could find it. How do you chop off a decimal value in PHP? I know I can do it using a combination of modulus, subtraction and division, but isn't there a function that does this? I think I am suffering from a giant mental block =) -- PHP Gener

Re: [PHP] Easy Question (I think)

2004-08-03 Thread Robert Cummings
On Tue, 2004-08-03 at 23:25, Robert Frame wrote: > I am sure this is an obvious answer, but dang if I could find it. > > How do you chop off a decimal value in PHP? I know I can do it using a > combination of modulus, subtraction and division, but isn't there a function >

Re: [PHP] String formatting

2004-08-06 Thread Robert Cummings
On Fri, 2004-08-06 at 13:24, Jed R. Brubaker wrote: > Hey all! Glad you are here. > > I have a question that is confusing me a bit. I am trying to output a string > that is pulled from a database that I don't have control over. > > Everything is great, except that the string needs to be all on on

Re: [PHP] PHP5 - OOP Question

2004-08-09 Thread Robert Cummings
On Mon, 2004-08-09 at 22:29, Hardik Doshi wrote: > Hello Group, > > I would like to know which one is the most appropriate > way to implement the following scenario. > > For example, I want to display a products catalogue of > 100 products. I do have a base class of product which > contains all t

Re: [PHP] PHP templates

2004-08-16 Thread Robert Cummings
On Mon, 2004-08-16 at 02:31, Octavian Rasnita wrote: > Hi, > > I took a look to Smarty and Savant templating systems, and I like a few > things from both of them. > However, none of them are satisfactory. > > I don't like Smarty because it needs another language and I find Savant more > easy to

[PHP] managing cvs from php

2004-08-19 Thread robert mena
Hi, I use cvs from my internal projects and will soon need to let others change template files from a web form. The user will load the current template, edit, preview and if ok "publish". Since I'd like to keep a history and track those changes one option for me would be to add a cvs call with a

[PHP] Get reference count on a variable.

2004-08-20 Thread Robert Cummings
Hi All, I think I'm looking for something that doesn't exist, but just in case thought I'd check the list. Does anyone know if a PHP function exists to get the number of references on a given variable's data? I was hoping to create a way for a factory to automatically recycle resources without

<    4   5   6   7   8   9   10   11   12   13   >