[PHP] Dumb Question - Casting

2010-02-18 Thread Chuck
Sorry, been doing heavy perl and haven't written any PHP in 3 years so a tad rusty. Can someone explain why the second expression in this code snippet evaluates to 7 and not 8? $a = (int) (0.1 +0.7); echo "$a\n"; $x = (int) ((0.1 + 0.7) * 10); echo "$x\n"; $y = (int) (8); echo "$y\n";

[PHP] How to prevent direct access..

2008-01-27 Thread Chuck
I have a php file that produces an image and is only referred to from an img tag like so: I want to prevent anyone from directly accessing the getRandImage.php file. The file has to be world readable or the image will not display. I played around with testing $_SERVER['HTTP_REFERER'] using regul

Re: [PHP] Using mysql_real_escape_string without connecting to mysql

2008-01-23 Thread Chuck
On Jan 22, 2008 7:01 PM, Dotan Cohen <[EMAIL PROTECTED]> wrote: > I have a file of my own functions that I include in many places. One > of them uses mysql_real_escape_string, however, it may be called in a > context that will or will not connect to a mysql server, and worse, > may already be conne

Re: [PHP] Any way to use header() or another function to force user to "top level"

2008-01-12 Thread Chuck
That is exactly what I am using now but the location I am redirecting to is loading within the tags and at the top level of the browser. -CC On 1/12/08, Jim Lucas <[EMAIL PROTECTED]> wrote: > Chuck wrote: > > I have some code doing some checks that sit inside div tags using hre

[PHP] Any way to use header() or another function to force user to "top level"

2008-01-12 Thread Chuck
I have some code doing some checks that sit inside div tags using href elements: ... Panel1 ... In code.php, if various conditions aren't met, this script will do a bunch of house cleaning, logging, then redirect using header("Location: /some_url"). My problem is that /some_url comes

[PHP] setup help in IIS6

2007-09-18 Thread Chuck Chidekel
Hello, I have installed the latest PHP on my windows server 2003 IIS6 machine. From the DOS command line interface (when in the C:\PHP directory) if I type PHP phpinfo.php, the file runs. However I cannot get it to work on the browser on the server our out on the web using my URL. I'm sure it'

Re: [PHP] Where can I get the Printer extension?

2007-01-17 Thread Chuck Anderson
Chris wrote: Chuck Anderson wrote: It thought it would be bundled with my Windows version pf Php 4.4.1, but it is not. I've searched for it and can't find it at php.net. You didn't search very hard. On this page: http://php.net/printer Read the bit unde

[PHP] Where can I get the Printer extension?

2007-01-17 Thread Chuck Anderson
It thought it would be bundled with my Windows version pf Php 4.4.1, but it is not. I've searched for it and can't find it at php.net. How do get a copy of php_printer.dll for Php4.4.1 for Windows? -- * Chuck Anderson • Boulder, CO http://www.CycleT

[PHP] Re: Havn't been on the list in a while

2006-12-13 Thread Chuck Anderson
group. -- * Chuck Anderson • Boulder, CO http://www.CycleTourist.com * -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Havn't been on the list in a while

2006-12-13 Thread Chuck Anderson
group. -- * Chuck Anderson • Boulder, CO http://www.CycleTourist.com * -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: news.php.net times out - unreachable for days

2006-12-11 Thread Chuck Anderson
Lester Caine wrote: Chuck Anderson wrote: In the time it takes to write a message, I lose my connection and often cannot even connect to send it. I'm hurrying this time, so I hope it works. ( not that time . timed out . I'll try Sending again) When I was for

Re: [PHP] Re: news.php.net times out - unreachable for days

2006-12-11 Thread Chuck Anderson
Lester Caine wrote: Chuck Anderson wrote: In the time it takes to write a message, I lose my connection and often cannot even connect to send it. I'm hurrying this time, so I hope it works. ( not that time . timed out . I'll try Sending again) When I was for

[PHP] news.php.net times out - unreachable for days

2006-12-07 Thread Chuck Anderson
some other posts indicating that I am not alone. Something NEEDS to be fixed. I'll just have to keep trying to connect every day and hope something changes. As of now, das ist kaput! -- ***** Chuck Anderson • Boulder, CO http://www.C

[PHP] news.php.net times out - unreachable for days

2006-12-07 Thread Chuck Anderson
EEDS to be fixed. I'll just have to keep trying to connect every day and hope something changes. As of now, das ist kaput! -- ***** Chuck Anderson • Boulder, CO http://www.CycleTourist.com * -- PHP General Mailing List (http://w

[PHP] Re: Newsgroup connect time has become very long

2006-12-06 Thread Chuck Anderson
rbird - connecting to news.php.net. -- * Chuck Anderson • Boulder, CO http://www.CycleTourist.com * -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Newsgroup connect time has become very long

2006-12-06 Thread Chuck Anderson
rbird - connecting to news.php.net. -- * Chuck Anderson • Boulder, CO http://www.CycleTourist.com * -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] worst sites / standard format

2006-10-19 Thread Chuck Stearns
st tasting tuna get to be Starkist. Skip Ed Lazor wrote: Sorry, how does this relate to PHP? It seems like you're just trying to get us to visit your sites to bump up traffic. On Oct 19, 2006, at 8:44 AM, Chuck Stearns wrote: hey, check out the bar on the side of the ones with main.ht

[PHP] worst sites / standard format

2006-10-19 Thread Chuck Stearns
hey, check out the bar on the side of the ones with main.html. http://www.997thelake.com/main.html http://www.cool929fm.com/main.html http://www.star933.com/ http://www.wzzo.com/main.html http://www.929nin.com/main.html guess we have our work cut out for us, eh? we need to find a distinct, una

[PHP] Re: pop-up window in php???

2006-06-08 Thread Chuck Anderson
with scripts that delete something - "are you sure?"), but not in a popup window. -- ***** Chuck Anderson • Boulder, CO http://www.CycleTourist.com Everyone's journey should be different, so that we all are enriched in new and endless ways *

Re: [PHP] Help with enter key in Forms

2006-06-01 Thread Chuck Anderson
ou try this -- nl2br? -- ***** Chuck Anderson • Boulder, CO http://www.CycleTourist.com * -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: User confirmation questions?

2006-05-05 Thread Chuck Anderson
s the page on submit and my script checks for the submit value at the top of the page. If the form was submitted it either performs the action or not - based on the submitted values. -- * Chuck Anderson • Boulder, CO http://www.CycleTourist.com Integrity i

[PHP] Re: Session contamination?

2006-04-20 Thread Chuck Anderson
tory/sub directory? What is the best way to avoid/prevent this problem? Should I be using specific Session ID's or Session names? Thanks for any help, - Ben -- * Chuck Anderson • Boulder, CO http://www.CycleTourist.com Integrity is obvious. The lack of it i

Re: [PHP] Re: phpMyAdmin--resetting auto increments to 0

2006-04-16 Thread Chuck Anderson
t PhpMyAdmin and why it no longer seems to let you reset the AI using the Operations page. At least it doesn't on my machine - Windows XP - Apache/2.0.55 - PhpMyAdmin 2.6.4-pl3. -- ***** Chuck Anderson • Boulder, CO http://www.CycleTourist.com Integrity is obvious.

Re: [PHP] Re: phpMyAdmin--resetting auto increments to 0

2006-04-16 Thread Chuck Anderson
tedd wrote: At 3:01 PM -0600 4/16/06, Chuck Anderson wrote: tedd wrote: At 1:42 PM -0600 4/16/06, Chuck Anderson wrote: alex wrote: hi everyone i have delete a few entries in my database as they were entered for testing purposes and are no longer need

Re: [PHP] Re: phpMyAdmin--resetting auto increments to 0

2006-04-16 Thread Chuck Anderson
tedd wrote: At 1:42 PM -0600 4/16/06, Chuck Anderson wrote: alex wrote: hi everyone i have delete a few entries in my database as they were entered for testing purposes and are no longer need (actually 102 entries)... and even thought that db is empty i noticed that when the next

[PHP] Re: phpMyAdmin--resetting auto increments to 0

2006-04-16 Thread Chuck Anderson
ould obey my request. -- ***** Chuck Anderson • Boulder, CO http://www.CycleTourist.com Integrity is obvious. The lack of it is common. * -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Best practice to set up register_globals

2006-03-17 Thread Chuck Anderson
I can put individual php.ini files in the directory the php script files are in. That means that I can create a php.ini file and add 'register_globals on' in any directory where I need it. Does anyone know how to configure that? -- ***** Chuck Anderso

[PHP] Re: displaying documents stored under web root

2006-03-10 Thread Chuck Anderson
others deal with these problems like this any advice appreciated greatly Ade I deliver restricted PDFs that are kept *above* the web root without using a temporary file. Why do you need to create a temporary file? I use headers and readfile. -- * Chuck Anderson

[PHP] Re: array variables with or without quotes

2006-02-22 Thread Chuck Anderson
don't understand why! What is the difference between $content_row [include] and $content_row['include']? I have been unable to resolve this question in the php manual, I need enlightenment. 2dogs http://www.php.net/manual/en/language.types.array.php#language.types.array.fo

[PHP] Re: image location hiding techniques

2006-02-08 Thread Chuck Anderson
.alistapart.com/articles/hotlinking/ -- ***** Chuck Anderson • Boulder, CO http://www.CycleTourist.com Integrity is obvious. The lack of it is common. * -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: exec php.exe in windows

2006-01-22 Thread Chuck Anderson
nt to give that a try. -- ***** Chuck Anderson • Boulder, CO http://www.CycleTourist.com Integrity is obvious. The lack of it is common. * -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Upgrade to 4.4.2 shows as 4.4.1-pl-1 (Windows)

2006-01-20 Thread Chuck Anderson
something wrong? -- * Chuck Anderson • Boulder, CO http://www.CycleTourist.com Integrity is obvious. The lack of it is common. * -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP 4.4.2 released!

2006-01-18 Thread Chuck Anderson
home PC.) Have I done something wrong? -- * Chuck Anderson • Boulder, CO http://www.CycleTourist.com Integrity is obvious. The lack of it is common. * -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: Image editing?

2006-01-09 Thread Chuck Anderson
agick to do the job right. If you are concerned about tweaking the quality of your final graphic, you might look into using it. It *is* installed on many servers. There is a Windows version you can install, too. -- * Chuck Anderson • Boulder, CO http://www.CycleTouris

[PHP] Re: Can't use secure file wrappers - Windows

2005-11-28 Thread Chuck Anderson
James Benson wrote: Could use the xampp package or just the openssl & php from it, http://www.apachefriends.org/en/xampp.html Chuck Anderson wrote: [I've had this posted in the php.windows group for a few days, but I got no replies there.] I have been plugging away at this

[PHP] Re: php error message

2005-11-17 Thread Chuck Anderson
an include file that was all Php causing this problem. The end of the included file had a carriage return after the closing tag ?>. That was a nasty one to locate. Now I always make sure there is no white space after the closing tag in files I might include somewhere else. -- ***

[PHP] Re: Can't use secure file wrappers - Windows

2005-11-14 Thread Chuck Anderson
s are not registered. I seem to have done everything needed. If I get some free time this week, I may install Xampp - see what happens. Chuck Anderson wrote: [I've had this posted in the php.windows group for a few days, but I got no replies there.] I have been plugging away at this

[PHP] Can't use secure file wrappers - Windows

2005-11-14 Thread Chuck Anderson
[I've had this posted in the php.windows group for a few days, but I got no replies there.] I have been plugging away at this for some time now and I can not figure out how to get https and ftps as registered streams in my Windows installation of Php (4.4.0). My direct need is to use fopen on

[PHP] ARG: Seg Faults with PHP 5.0.5, now on Solaris and SLES9

2005-10-10 Thread Chuck
After 3 months of headache and intermittent seg faults on Solaris 9, we decided to give SLES 9 a try. Now we get continuous seg faults. I am running apache 2.0.54 on SLES 9 with all updates, and Oracle 10.2.0.1. (everything is the 32-bit flavor) I built PHP as follows: adcinfops

[PHP] Code broken after upgrading from Oracle 10.1.0.4 to 10.2.0.1

2005-09-28 Thread Chuck
After upgrading my database to 10.2 I get the following error when trying to connect: (Using Solaris 9, Apache 2.0.54, and php 5.0.5) *Warning*: ocilogon() [function.ocilogon]: _oci_open_server: Error while trying to retrieve text for error ORA-12154 in */usr/

[PHP] Error Handling

2005-09-09 Thread Chuck Brockman
What is a good way to capture errors that occur. I've tried the following code in development, but it still spits out an error (Parse error: syntax error, unexpected '}', expecting ',' or ';' in X:\\\.php on line 7) Thanks. -- PHP General Mailing List (http://www.php.net/) To unsub

[PHP] Object Scope

2005-09-06 Thread Chuck Brockman
What is the best practice for calling objects that are to be used throughout a users site visit. For example, I have a members class with two classes that extend this class. Is it best to instantiate the object in the $_Session scope or make individual calls to the class/object. For example: cl

[PHP] Class/Function Query Call Problem

2005-07-21 Thread Chuck Brockman
I'm creating a psuedo mail/message app for users to send messages to one another. For this, I've created a parent class, class.members.php, and an extended class, class.mail.php. The problem I'm having is when I make page which calls the classes members and memberMail creates an infite loop; how

Re: [PHP] Before I pull anymore hair out.. Is anyone Using..

2005-07-20 Thread Chuck Carson
Yea, there is nothing talking about my eact configuration. (mainly on Solaris) I can get this config working on SLES 9 and Red Hat w/o problems and currently have it running on a dozen systems or so. I need it on Solaris 9... -CC On 7/20/05, Mikey <[EMAIL PROTECTED]> wrote: > Chuck Car

[PHP] PHP Build Issues on Soalris 9

2005-07-20 Thread Chuck Carson
Okay, something I just noticed. (PHP builds fine, including make test) I see this after running configure: Generating files updating cache ./config.cache creating ./config.status creating php5.spec creating main/build-defs.h creating scripts/phpize creating scripts/php-config creating sapi/cli/php

[PHP] Before I pull anymore hair out.. Is anyone Using..

2005-07-20 Thread Chuck Carson
Is anyone here using php 5.0.4 on Solaris 9 and compiled with Oracle 10g support and using apache 2.0.54? I have looked at every 10 times over. I have built php with oracle support probably 100 times on 5 different platforms and never had as many issues as I have had so far with this system. After

[PHP] PHP is occasionally seg faulting

2005-07-19 Thread Chuck Carson
Im running php 5.0.4 with oracle 10g on Solaris 9 and apache 2.0.54. (I built with --with-oci8 so I am using the OCI stuff) I have a simple test page that does "select username from dba_users" and merely prints each username to the browser. It will work 1 time or sometimes 2 but then subsequent ca

[PHP] ARG, call to undefined function, same problem I had on SuSE

2005-07-19 Thread Chuck Carson
Okay, just built php 5.0.4 on solaris 9 and added mysql and oracle support (using Oracle 10.2.0.1). phpinfo() shows that oracle support is enabled, however, a simple call to ora_logon doesnt work: Fatal error: Call to undefined function ora_logon() in /usr/local/apache2/htdocs/oratest.php on line

[PHP] Solaris 9/Oracle 10g Compile Time Problems

2005-07-19 Thread Chuck Carson
How do you build php 5.0.4 with support for oracle 10.2 on Solaris 9? I am getting the following compile time error? z -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lnsl -lsocket -lgen -ldl -lclntsh -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -

[PHP] Can PHP Talk directly to Oracle w/o Using Listener

2005-07-19 Thread Chuck Carson
Does PHP have the ability to talk directly to a local oracle database w/o the need for a listener? Thx, CC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SOlaris 10 Build Problems

2005-07-15 Thread Chuck Carson
Trying to build php 5.0.4 on solaris using gcc, and get this error: checking for Apache 2.0 filter-module support via DSO through APXS... no checking for Apache 2.0 handler-module support via DSO through APXS... Sorry, I cannot run apxs. Possible reasons follow: 1. Perl is not installed 2. apxs

[PHP] Support for Oracle 10g in php 5.0.4

2005-07-05 Thread Chuck Carson
I'm having problems getting php 5.0.4 working with Oracle 10.1.0.3 and just wanted to check and make sure 10g was supported before wasting any more cycles on it. Thx, CC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Call to undefined function ora_logon()

2005-07-05 Thread Chuck Carson
I am unable to get php 5.0.4 working with Oracle 10.1.0.3. (also Apache 2.0.54). Running on SuSE 9.3. When I look at the output of phpinfo() it shows OCI8 support enabled as well as mysql support. (Mysql support works fine) bongrip:/usr/local/apache2/modules # ldd libphp5.so linux-gate.so.

[PHP] Re: corrected

2005-01-19 Thread chuck
Requested file. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A simple question

2004-11-13 Thread Chuck PUP Payne
nformation here, things have been change to protect my database. On 11/13/04 9:59 PM, "Janet Valade" <[EMAIL PROTECTED]> wrote: > > Actually, read this: > > http://us2.php.net/manual/en/security.globals.php > > Janet > > Chuck PUP Payne wrote: >

Re: [PHP] A simple question

2004-11-13 Thread Chuck PUP Payne
p > > (Especially the part about global variables...) > - Original Message - > From: "Chuck PUP Payne" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, November 13, 2004 9:02 PM > Subject: [PHP] A simple question > > >&

[PHP] A simple question

2004-11-13 Thread Chuck PUP Payne
Hey, I have just upgrade my box and my forms are no longer passing information into the database. I did a simple echo test and sure enough nothing. I was using Apache 1.3 with php 4.1 I am now using Apache 2 with php 4.3.4, I thinking there is something that needs to be turn on in my php.ini that

[PHP] fopen by URL is disabled, is there another way of reading a remote webpage?

2004-10-20 Thread Chuck Barnett
Hi, my new server has fopen by url disabled. My ISP doesn't want to turn it on. So is there a way to do an equivilant function some other way? I need to read a remote webpage and manipulate it. Thanks, Chuck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Recursive Interpolation

2004-10-05 Thread Chuck Wolber
ne." Looks like there's some traction for something like this. That's a good first step :) -Chuck On Tue, 5 Oct 2004, l0t3k wrote: > if you check the internals archive, i think Sara said she had an > interpolator on her plate... > > > "Chuck Wolber" &

RE: [PHP] Recursive Interpolation

2004-10-05 Thread Chuck Wolber
On Mon, 4 Oct 2004, Michael Sims wrote: > Chuck Wolber wrote: > > The method I've come up with in the meantime, I believe is much more > > effective than heredocs, but still an ugly hack: > > > > function interpolate ($text, $msg_variable) { > > $msg

Re: [PHP] Recursive Interpolation

2004-10-04 Thread Chuck Wolber
On Mon, 4 Oct 2004, Chuck Wolber wrote: > Database *FIELD* with text data in it. The text data contains sentences > interspersed with $foo['bar'] array variables. The idea is that when one > selects this field, PHP will interpolate $foo['bar'] with the currently

Re: [PHP] something wrong with $_SERVER var

2004-10-04 Thread Chuck Wolber
header("Location:http://".$_SERVER[HTTP_HOST].$_SERVER[REQUEST_URI]); > exit; > } You can start by putting a space between the "Location:" and the rest of your URL. -Chuck -- http://www.quantumlinux.com Quantum Linux Laboratories, LLC. ACCELERATI

[PHP] Recursive Interpolation

2004-10-04 Thread Chuck Wolber
les, It'd be useful to see something: $text_i = interpolate($text) which recursively interpolates based on variables in the current namespace. Granted, this opens up a *WHOLE* mountain of problems (circular references anyone?). Is there any traction on an idea like this? Any other so

[PHP] PHP Login Script

2004-08-25 Thread Chuck
Could anyone let me know or point me to where I could find out how to setup a login for my php site. I've been looking around and found plenty of stuff for PHP/Apache, but nothing for just PHP. Any help or info about this would be appreciated. Thanks, Chuck -- PHP General Mailing List

Re: [PHP] Select List PHP,HTML

2004-08-23 Thread Chuck
Thanks a lot, that worked perfectly. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] I have been able to create a list with no problem, but now I need to get the value of which item is selected in the list. I looked around, but couldn't find anywhere that would

[PHP] Select List PHP,HTML

2004-08-23 Thread Chuck
b->Execute("SELECT * from company"); while (!$rs->EOF) { $Name = $rs->Fields['Name']->Value; print "".$Name; $rs->MoveNext(); } ?> I would appreciate any help I could get with this. Thanks, Chuck -- PHP

Re: [PHP] PHP 5.01 and HTML

2004-08-20 Thread Chuck
Thanks alot, worked great. You're the man!! "Matt M." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > > > $db = new COM("ADODB.Connection"); > > $dsn = "DRIVER=SQL Server; SERVER=D63WV941;UID=sa;PWD=sa; > > DATABASE=BINDER"; > > $db->Open($dsn); > >

[PHP] PHP 5.01 and HTML

2004-08-20 Thread Chuck
{ $Name = $rs->Fields['Name']->Value; // This doesn't get listed. "".$Name; $rs->MoveNext(); } ?> I appreciate the help, Chuck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] executing php script from sql field.

2004-06-18 Thread Chuck
suggestions? Thanks, Chuck

[PHP] Best way to do "Last 3 Items Viewed"

2004-05-14 Thread Chuck Barnett
Anyone have any code snippits that would allow me to do a "Last 3 Items Viewed" like on ebay? Thanks, Chuck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Mail Transaction Failed

2004-01-26 Thread chuck
The message contains Unicode characters and has been sent as a binary attachment. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Mail Transaction Failed

2004-01-26 Thread chuck
The message contains Unicode characters and has been sent as a binary attachment. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem with RAND()

2003-10-23 Thread Chuck PUP Payne
(), please help. When I did basic back in the 8-bit days I had problem with RANDOM then too. Chuck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Php and Fortune

2003-10-22 Thread Chuck PUP Payne
Thanks Everyone. This is so cool!!! :) On 10/22/03 11:15 PM, "Mykroft Holmes IV" <[EMAIL PROTECTED]> wrote: > > > Mykroft Holmes IV wrote: > >> >> >> Chuck PUP Payne wrote: >> >>> Hi, >>> >>> Is there a w

[PHP] Php and Fortune

2003-10-22 Thread Chuck PUP Payne
Hi, Is there a way I can get php to call the program fortune then print that a web page. Thanks. Payne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Movie ticket reservation system.

2003-03-02 Thread Chuck
Hi. does anyone know of a php//mysql based movie ticket reservation system? Thanks, Chuck Barnett

Re: [PHP] Wanting to better understand

2002-10-01 Thread Chuck PUP Payne
A, ok. You know am still having problems with elseif, else, Ok, thanks I will give it a try. Chuck On 10/1/02 11:03 PM, "Chris Shiflett" <[EMAIL PROTECTED]> wrote: > Chuck, > > I'm not sure what you're trying to do, but I think you might just want

[PHP] Wanting to better understand

2002-10-01 Thread Chuck \"PUP\" Payne
can't see the differents. I sorry that this might be confusing but I am trying to ask the way I can. I am not sure what you call this, expression I think. Any way is there a way that I can use this expression to get two or more colors. Thanks Chuck Payne Magi Design and Support -

RE: [PHP] general apache list

2002-09-30 Thread Chuck Payne
apache.org or on Google for Apache Today, I think it apachetoday.org. There you will find your list. Chuck Payne -Original Message- From: electroteque [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 10:45 AM To: [EMAIL PROTECTED] Subject: [PHP] general apache list where can

Re: [PHP] Include Part 2

2002-09-28 Thread Chuck PUP Payne
or this is about 50 pages and I am getting tried of change each one I like to be able to change just one file. You know make it easier. Better design. Sorry it 2:30am and Jolt cola is not working and I am LD. So sorry if this is not clear. Chuck Payne On 9/29/02 2:06 AM, "Chuck PUP Payne&quo

Re: [PHP] Include Part 2

2002-09-28 Thread Chuck PUP Payne
]; $category =$myrow[category]; } This way I can add more myrow to call upon at a later date or delete for that matter. I hope that helps... Chuck On 9/29/02 1:48 AM, "Justin French" <[EMAIL PROTECTED]> wrote: > Not sure I fully understand, but usually this stuff calls for

[PHP] Include Part 2

2002-09-28 Thread Chuck PUP Payne
egory];" Am I wrong to try this way? Do I need to set it up as fuction to call on? Chuck Payne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Include...

2002-09-28 Thread Chuck PUP Payne
l/htdocs/movies/style.inc"); So can't someone telling me what I am doing wrong. I thought .inc where easy. Chuck Payne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Include...

2002-09-28 Thread Chuck \"PUP\" Payne
l/htdocs/movies/style.inc"); So can't someone telling me what I am doing wrong. I thought .inc where easy. Chuck Payne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] What other list are there?

2002-09-25 Thread Chuck Payne
might be a little more advance. Hey, if I am wrong sorry, just thing to make sure a head of time. Thanks, Chuck Payne Magi Design and Support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] html input and php (newbie) --> What I was asking with my thoughts on Search Engine

2002-09-24 Thread Chuck Payne
. Chuck -Original Message- From: Jesse Cablek [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 3:39 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] html input and php (newbie) Anna Gyor <mailto:[EMAIL PROTECTED]> scribbled; > > Hi, > > I just began to learn

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

2002-09-24 Thread Chuck Payne
Of course the table they want to search $field = Field that want to seach $value = value what they want to by $input = if they want to search by something other a node numder. So I if I create the form, is there way that I can have it echo on the same page if I am using a form? Chuck Payne Magi D

[PHP] Maybe a stupid question but can it be done?

2002-09-23 Thread Chuck PUP Payne
php page. I am sorry to ask, I have looked around to see if there any on the net or in my mysql and php books but this seems like a weird task. Chuck Payne Magi Design and Support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Maybe a stupid question but can it be done?

2002-09-23 Thread Chuck \"PUP\" Payne
php page. I am sorry to ask, I have looked around to see if there any on the net or in my mysql and php books but this seems like a weird task. Chuck Payne Magi Design and Support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with mail...

2002-09-22 Thread Chuck PUP Payne
Ok, that work. Why does the ' (quote) not make it work is it because it's an array? Any thanks John that got it work. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help with mail...

2002-09-22 Thread Chuck \"PUP\" Payne
ng people with mail(), Is there a special place to put it? Here example of my codeany way I trying to hammer it out and using google to see where the error of my way is. Chuck Payne --- Killers Added Adding the following record"

Re: [PHP] Design question.

2002-09-21 Thread Chuck PUP Payne
Thanks guys. That really helpful. Chuck Payne On 9/21/02 10:16 PM, "Chris Shiflett" <[EMAIL PROTECTED]> wrote: > This explanation from Justin is worth saving. > > I also like to call all of my included modules *.inc, and I prefer to > store them outside of documen

[PHP] Design question.

2002-09-21 Thread Chuck PUP Payne
which is better, config.php or config.inc. I know there not much different from what I have read but I am wanting to know which gives more protection. And what recommendation would you give on set it up? I am only asking because I am at some point wanting to release my project to public. Chuck Payne

[PHP] FPDF and MySQL

2002-09-19 Thread Chuck Payne
there is a tutorial. Thanks, Chuck Payne Magi Design and Support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Date-format

2002-09-18 Thread Chuck Payne
quot; "; } 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 and not to always quote "Read the Book". Chuck Payne Magi Design and Support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Time Stamp

2002-09-18 Thread Chuck Payne
Hi, I have a form that I am using to update a mysql table but I can get timestamp to update. How can I pass that information to pass on. I have "READ" all books and feel I have correct systax but it just not working... This should pass the time right? Chuck Payne Magi Design a

[PHP] How to pass null as value?

2002-09-11 Thread Chuck PUP Payne
I know this may have been asked a thousand times but how do you pass null on to a page as a value. Let say in a field where you have a yes and no. Null needs to equal no. Is this more mysql? Can it be done in php? Chuck Payne Magi Design and Support -- PHP General Mailing List (http

[PHP] Thanks...

2002-09-10 Thread Chuck \"PUP\" Payne
Many thanks. That was the trick. :) Chuck Payne Magi Design and Support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help getting count to show up.

2002-09-10 Thread Chuck Payne
get count to show. I can get two of the fields. Below is the PHP program that I am wanting to run. How can I get count to show? Thanks. Chuck Payne Magi Design and Support ", $myrow[category], $myrow[format

[PHP] Count in PHP

2002-09-09 Thread Chuck \"PUP\" Payne
I am wanting to do a count in PHP. I want to be able to count the number of records from a given database and display this count on the page. Can this be done using PHP or is the sql thing? Chuck Payne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

  1   2   3   >