[PHP] Numeric help needed

2012-01-15 Thread Christopher J Payne
Hi everyone, I am having a hard time with a numerical problem. I need to round some numbers up and I've tried $round($number) and it doesn't work so I'm misunderstanding something. For example, if a user inputs 685000 I need it to round up to 69 or if they input 149560 I need it to

Re: [PHP] Numeric help needed

2012-01-15 Thread Chris Payne
rounded up to the next $1000. Maybe i'm just looking at it wrong but i'm stumped. Chris On Sun, Jan 15, 2012 at 8:41 PM, Jason Pruim li...@pruimphotography.com wrote: Sent from my iPhone On Jan 15, 2012, at 8:25 PM, Christopher J Payne oxygene...@gmail.com wrote: Hi everyone, I am

[PHP] Thank you all for your help

2012-01-15 Thread Chris Payne
Hi there, A big thank you to all of you who took time to help me with my numeric problem from earlier, it's been a huge help :-) Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help needed with calculation

2009-11-15 Thread Chris Payne
Hi everyone, I'm not sure of the correct formula for this, if I have a file - just for example, that is 10245458756 bytes long and the download speed is 60KB a second, what formula would I use to calculate how many seconds/minutes/hours it would take to download the file? Maths really isn't my

[PHP] What method is best for generating thumbnails in PHP from PDF's?

2009-11-12 Thread Chris Payne
Hi Everyone, I have been asked to create thumbnails from the first page of a PDF document on the fly with PHP, I have looked online but am confused as there doesn't seem 1 simple solution. What would you all recommend as an easy way to do this? Any help would be really appreciated. Chris --

[PHP] Downloader help needed :-(

2009-09-24 Thread Chris Payne
HI everyone, Thanks for those of you in the past that helped me with my downloader not displaying the filename. Someone gave me a link to the downloader below which works GREAT but i've tried and tried to limit the data transfer to 60KB a second andI can't get it to work, can any of you see what

Re: [PHP] Downloader help needed :-(

2009-09-24 Thread Chris Payne
Hi there, Thank you Tommy, I will look at this when my little 3 year old devil is in bed, I appreciate your help :-) Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] File download question

2009-09-06 Thread Chris Payne
Hi Everyone, I've setup a filedownload which works but i'm having an issue, i've left out but when it downloads it, while it has the correct file it doesn't have a file extension associated with it, I need the .7z extension associated with the filename, can anyone see why that would do this

[PHP] pre-screening pages before served?

2009-07-20 Thread Chris Payne
Hi everyone, Is it possible to have the system pre-screen a page before it is sent to a user? What I mean is, if someone requests index.php could I have a script scan the file before I serves it? The reason I ask is this way I could check for patterns on the script to make sure the page hasn't

Re: [PHP] pre-screening pages before served?

2009-07-20 Thread Chris Payne
On Mon, Jul 20, 2009 at 12:30 PM, Per Jessenp...@computer.org wrote: Chris Payne wrote: Hi everyone, Is it possible to have the system pre-screen a page before it is sent to a user?  What I mean is, if someone requests index.php could I have a script scan the file before I serves it? Yes

Re: [PHP] pre-screening pages before served?

2009-07-20 Thread Chris Payne
Really? This is an actual problem for you? It sounds too me that you have a malicious user on your server and if so, fire them. If you suspect you've been hacked from externally, then I would format and re-install -- or use a backup from a known good date. I've been coding PHP since 1996, and

[PHP] HELP SQL INJECTION

2009-07-10 Thread Chris Payne
Hi everyone, My server appears to be the victim of a chinese hack-attack and I believe they managed to change pages via SQL Injection, do any of you have any ideas how to lock down my forms so MySQL cannot be used from my forms? Thanks everyone Chris -- PHP General Mailing List

Re: [PHP] HELP SQL INJECTION

2009-07-10 Thread Chris Payne
Hi everyone, Hmmm i'm not sure it is an SQL Injection now, done a lot more checking and it is inserting code at the end of every index.htm index.html default.html and index.php pages on my site. Ooooh what fun :-) Chris On Fri, Jul 10, 2009 at 2:22 PM, Govindagovinda.webdnat...@gmail.com

Re: [PHP] HELP SQL INJECTION

2009-07-10 Thread Chris Payne
Hi, Yes their IP is from Russia by Chinese in origin. How can this be prevented? Thank you all SO much for your help, it is very appreciated. Chris On Fri, Jul 10, 2009 at 2:40 PM, Daniel Browndanbr...@php.net wrote: On Fri, Jul 10, 2009 at 17:37, Chris Paynechris_pa...@danmangames.com

Re: [PHP] HELP SQL INJECTION

2009-07-10 Thread Chris Payne
Thank you all SO much for your help, it is very appreciated.    So would be your move to bottom-posting (with nods to the jihad that was the longest thread of the list so far this month) as per the mailing list rules.  ;-P    What's the URL to your site, if you feel comfortable in providing

[PHP] Users Online?

2009-06-20 Thread Chris Payne
Hi everyone, I have a login system that allows a user to login to my control panel, is there an easy way so that I can tell how many users / what users are logged into my system? What would I need to do to add this with the minimum of hassle? Would I just have to look at the sessions that are

[PHP] Search/Replace in entire database?

2009-06-14 Thread Chris Payne
of different column names, and it would save so much time if I could do a single query that would just search EVERYTHING within the database. Thanks for any advice you can give me. Regards Chris Payne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] A couple of questions

2009-03-16 Thread Payne
anything different or any outstanding. In fact I put in place my old php.ini to see if I got the same issue and I didn't. What that one I am getting include(): Failed opening 'template/header.inc' Is there a way I can do like sh -x on a php page to see what is broke? Thanks, Payne -- PHP General

Re: [PHP] A couple of questions

2009-03-16 Thread Payne
Nick Cooper wrote: 2009/3/16 Stuart stut...@gmail.com mailto:stut...@gmail.com 2009/3/16 Payne pa...@magidesign.com mailto:pa...@magidesign.com I had a page working on my opensuse 11.0 32bit, had to upgrade to 11.1 64bit. I have two strange issues. The first my

[PHP] Advice wanted

2009-02-16 Thread Payne
. If an actions kicked off a report. I like to see on that calendar the date or link show a clickable link or under that date the name of the report. Does anyone know where I can find examples so I can see what I need to do? Payne -- PHP General Mailing List (http://www.php.net

Re: [PHP] Help with an error...

2008-07-25 Thread Payne
Jim Lucas wrote: Payne wrote: Jim Lucas wrote: So, to summarize everything said, with my own added notes. [EMAIL PROTECTED] wrote: Hi, I am currently working on a php script that will be called by cron. But I have an error that keeps coming up. Parse error: syntax error, unexpected

[PHP] Help with an error...

2008-07-24 Thread payne
Hi, I am currently working on a php script that will be called by cron. But I have an error that keeps coming up. Parse error: syntax error, unexpected T_VARIABLE inmail_report.php on What I am trying to do is a simple php script to send me a report everynight. Any clues as to why? Also does

Re: [PHP] Help with an error...

2008-07-24 Thread payne
Thanks guys. I will take everything that as been stated to heart. Thanks for the insight. I haven't don't much with mail. Payne On Jul 24, 2008, at 1052AM, [EMAIL PROTECTED] wrote: $result = mysql_query($query) Missing a ; at the end of the line. $mailsend = mail([EMAIL

Re: [PHP] Help with an error...

2008-07-24 Thread payne
Well all the insight were great, I am not getting and errors but I am not getting mail. I am looking but php -e isn't telling me anything, and php -l says there no syntax. What else can I do for debugged. Payne Thanks guys. I will take everything that as been stated to heart. Thanks

Re: [PHP] Help with an error...

2008-07-24 Thread payne
Have you set your SMTP server/port in your php.ini file? Checking Have you checked your mail logs to make sure it is routing through? Tailing the log as I run it. Have you verified it is sending from and to a valid email address? Yes, those are valid. -- PHP General Mailing List

Re: [PHP] Help with an error...

2008-07-24 Thread Payne
Jim Lucas wrote: So, to summarize everything said, with my own added notes. [EMAIL PROTECTED] wrote: Hi, I am currently working on a php script that will be called by cron. But I have an error that keeps coming up. Parse error: syntax error, unexpected T_VARIABLE inmail_report.php on

[PHP] *****[SPAM(1.8)]*****

2008-07-23 Thread payne
on the net and most scripts are for form feed back. Thanks... Payne ---End Message--- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] *****[SPAM(1.8)]*****

2008-07-23 Thread payne
on the net and most scripts are for form feed back. Thanks... Payne ---End Message--- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] passthru

2007-08-06 Thread Payne
Hi, Does anyone know way to passthru man pages so they don't show the ascii formating? Payne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] passthru

2007-08-06 Thread Payne
Richard Heyes wrote: Does anyone know way to passthru man pages so they don't show the ascii formating? You could: 1) Replace all newlines (ASCII 10) with a br tag. htmlspecialchars() will do this for you. 2) Use a pre tag within which newlines are preserved 3) Use preg_replace to replace

Re: [PHP] Question about passing date in sql...

2007-08-02 Thread Payne
Stut wrote: Michael Preslar wrote: I know it has to do with date='`date +%Y%m%d`', because if I remove it works. Are you trying to use perl's back tic operator in php here? PHP also supports the that. However, I think the OP's problem is that it's inside other quotes and is therefore not

Re: [PHP] Question about passing date in sql...

2007-08-02 Thread Payne
Payne wrote: Stut wrote: Michael Preslar wrote: I know it has to do with date='`date +%Y%m%d`', because if I remove it works. Are you trying to use perl's back tic operator in php here? PHP also supports the that. However, I think the OP's problem is that it's inside other quotes

[PHP] Question about passing date in sql...

2007-08-01 Thread Payne
it has to do with date='`date +%Y%m%d`', because if I remove it works. Any clue as to why? Payne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help with getting PHP to see Pear.

2006-01-23 Thread Payne
/sbin/apxs2-prefork' 'i586-suse-linux' How can I get php to see pear, it is installed. I have install modules with pear for maia and horde but neither seem to see pear. Also I know that since 4.4.0 BC Math library is included, maia saying it not. Payne PEAR *FAILED*: Not installed

[PHP] Help with getting PHP to see Pear.

2006-01-23 Thread Payne
/sbin/apxs2-prefork' 'i586-suse-linux' How can I get php to see pear, it is installed. I have install modules with pear for maia and horde but neither seem to see pear. Also I know that since 4.4.0 BC Math library is included, maia saying it not. Payne PEAR *FAILED

[PHP] A simple question

2004-11-13 Thread Chuck PUP Payne
that I need to turn to pass information. Any clues, Payne -- 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
If I was still on 4.1 I would understand, but I am on 4.3.4 now I will read it but I think it will there is something that turn on in the php.ini. Payne On 11/13/04 9:13 PM, Brad Bonkoski [EMAIL PROTECTED] wrote: Read this.. http://www.php.net/release_4_1_0.php (Especially the part

Re: [PHP] A simple question

2004-11-13 Thread Chuck PUP Payne
is inserting into the data, and most of the books I have are from 2000 a little dated. Payne PS. Before someone tells me that it not good to post information here, things have been change to protect my database. On 11/13/04 9:59 PM, Janet Valade [EMAIL PROTECTED] wrote: Actually, read

[PHP] Help with Javascript

2003-11-12 Thread Payne
browser give me an error, but it I remove it work, but it's lost due to frames. I know this is a php question so if you can give me a javascript mailing that would be a BIG help. Payne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with Javascript

2003-11-12 Thread Payne
Pablo, Ok, I have it the page called top.php right now, are you that I need to place this in my index.html? Payne Pablo Gosse wrote: Hi Payne. The problem here is indeed the target attribute. You say that if you remove the target attribute it works, but is lost due to frames. What exactly

[PHP] How to adpated a javascrip with php...

2003-11-11 Thread Payne
for any help you can give... Payne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Echo issue

2003-10-29 Thread Payne
Payne Wrtote: \n is what you are needing. \n means new line. So you want a new line you have to do this echo (abc\n); echo (Elm Street\n); echo (Anytown, NY 0 \n); to get abc Elm Street Anytown, NY 0 you can also use a printf then you can use html code to get the same br. You

[PHP] ORDER BY RAND()....

2003-10-29 Thread Payne
Sorry, no message of day today; } echo /table ? I know that what I have got here must be the problem because this code was use to get mutli line of results. Is there a way to retype this so that I only get the one statement I need? Payne -- PHP General Mailing List

Re: [PHP] ORDER BY RAND()....

2003-10-29 Thread Payne
Gerard Samuel wrote: On Wednesday 29 October 2003 02:24 pm, Payne wrote: Hi, I have been working on a simple PHP script that called to a mysql database, where I do the following SELECT url FROM sponsors ORDER BY RAND(); Try - SELECT url FROM sponsors ORDER BY RAND() LIMIT 1; I

Re: [PHP] ORDER BY RAND()....

2003-10-29 Thread Payne
, I thinking becaue fetch calls the database multi time that it defects the rand() function. Payne Chris W. Parker wrote: Payne mailto:[EMAIL PROTECTED] on Wednesday, October 29, 2003 11:54 AM said: Try - SELECT url FROM sponsors ORDER BY RAND() LIMIT 1; I did that same thing

Re: [PHP] Calendar Tool

2003-10-28 Thread Payne
Matt Palermo wrote: Hey everyone. I am the creater of a PHP script called TotalCalendar (http://sweetphp.com/TotalCalendar/) and I am looking for a little advice and suggestions about making a tool for it. I want to build an application that users can download and install on their local

[PHP] Problem with RAND()

2003-10-23 Thread Chuck PUP Payne
Hi, I am trying to understand how RAND (), because I've had this problem before with other langs., I am using with this with MySQL statement that is in my php script, but it's only put the first files. I only have three files, do I need more files in my database? Is RAND() or RAND (), please

[PHP] Random Quotes...

2003-10-22 Thread Payne
Hi, I am working on a project and I need to see sample quote for doing random quotes. These quotes will be put from a database. Can some please share me some sample code. Thanks. Chuck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Tab index

2003-10-22 Thread Payne
Hardik Doshi wrote: Is it DHTML or Javascript? Becaucse DHTML doesn't work the same way on Browser. You will need to do a search on google DHTML and Netscape and Safari, you make want to use Javascript because then any browser can read it. Payne Hi Group, Currently i have setup the tabindex

[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

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 way I can get php to call the program fortune then print that a web page. Thanks. Payne echo 'pre

Re: [PHP] Problem :file_exists japanese filename

2003-10-10 Thread Payne
What is the codepage for Japanese, that mysql uses? (B (BPayne (B (BMarek Kilimajer wrote: (B (BIs the codepage of filesystem and of the string the same? What do you (Bsee if you list the files in the directory using php? (B (Bumesh wrote: (B (B (B (BHi Gurus, (B (BI am using PHP4

[PHP] Limits and php...

2003-10-07 Thread Payne
to calculate and how to show limits 0,5 5,10 so on and so on Payne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Dates

2003-10-03 Thread Payne
Ok, Mayve I need to be a little clear, I under the link below as showing dates. What I need to know how can I take the input of 09-12-1967 and have enter into a mysql data using php as 1967-09-12? Because everything that is past from my form to mysql is not the way it was enter. Would I need

[PHP] passing form information.

2003-10-02 Thread Payne
Hi, I am working a form to pass information from it to mysql data. I am able to connect to the database. But nothing is being pass from the form to the php page. This is my php code... -form.html html head

Re: [PHP] passing form information.

2003-10-02 Thread Payne
Sorry, I am LD. I do have the ? echo ? in my code. The leads_id is an autonumber, it the primary key for the table. What do the .$field. gives you over $field? Also another LD mistake, addlead.php is addlead.php. I will try it. Payne Chris Sherwood wrote: Hi Payne for starters your

Re: [PHP] passing form information.

2003-10-02 Thread Payne
Brad Pauly wrote: Payne wrote: [big snip] What I am getting this INSERT INTO leads (leads_id, title, f_name, l_name) VALUES ('', , , ) Is register_globals off? - Brad That's in the php.ini right? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] passing form information.

2003-10-02 Thread Payne
I tried that and I am still get this. INSERT INTO leads (leads_id, title, f_name, l_name) VALUES ( '', '', '', ''); and empty information is being posted into the database. Chuck Chris Sherwood wrote: Hi Payne for starters your missing an ? at the last echo ? echo $l_name secondly I

Re: [PHP] passing form information.

2003-10-02 Thread Payne
you over $field? Also another LD mistake, addlead.php is addlead.php. I will try it. Payne Chris Sherwood wrote: Hi Payne for starters your missing an ? at the last echo ? echo $l_name secondly I would rewrite the sql statement to read $sql = INSERT INTO $table_name (leads_id, title

[PHP] Dates

2003-10-02 Thread Payne
Hi , This might be mysql question but how can I change a US format date (mm/dd/) to a MySQL Format (/mm/dd). Can I do this will php or will need let say javascript or perl to do this? Payne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] config file

2003-09-19 Thread Payne
Hi, I have a project that I need to write and in the past I would hard code a lot of information in pages that I should have put into a config file. I am wanting to know if there a website that example how to write a config file and how to the php call them. Thanks Chuck -- PHP General

Re: [PHP] Attention: List Administrator

2003-09-19 Thread Payne
Raquel Rice wrote: On Fri, 19 Sep 2003 15:39:12 + Curt Zirzow [EMAIL PROTECTED] wrote: * Thus wrote Chris Sherwood ([EMAIL PROTECTED]): To Whom it may concern the following users [EMAIL PROTECTED] [EMAIL PROTECTED] has been flooding me with viruses. fortunately I have the

Re: [PHP] output to Excel

2003-09-16 Thread Payne
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 use phpMyAdmin to do the save things. Chuck Payne -- PHP General Mailing List (http://www.php.net

[PHP] Off the subject I need help...

2003-08-20 Thread Payne
. Chuck Payne PS. No flames guys my life is in hell as it is because of asp and MS SQL. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Wanting to better understand

2002-10-01 Thread Chuck \PUP\ Payne
. 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 -- PHP General Mailing List (http

Re: [PHP] Wanting to better understand

2002-10-01 Thread Chuck PUP Payne
probably want to use a different variable name for the string. Happy hacking. Chris Chuck \PUP\ Payne wrote: If ($days 30) { $days strongfont color='ff' . $days . /font/strong; } Want I want to do was add a second line this below to change the another value to change to change

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

[PHP] Include...

2002-09-28 Thread Chuck \PUP\ Payne
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
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 Part 2

2002-09-28 Thread Chuck PUP Payne
]; 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

Re: [PHP] Include Part 2

2002-09-28 Thread Chuck PUP Payne
, or an included file of code... in your case, sounds like a function is required, but I may not fully understand... Regards, Justin on 29/09/02 3:29 PM, Chuck PUP Payne ([EMAIL PROTECTED]) wrote: Ok, I am trying to make my design a lot easier. I want to know if I can do this... I want

Re: [PHP] Include Part 2

2002-09-28 Thread Chuck PUP Payne
for 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 [EMAIL PROTECTED

[PHP] What other list are there?

2002-09-25 Thread Chuck Payne
this 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

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

2002-09-24 Thread Chuck Payne
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 Design and Support -- PHP General Mailing List (http

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

2002-09-24 Thread Chuck Payne
This what I was asking, I want someone to press submit then have the returns print out in one are of the table. So could I do this? ?php if ($submit == click){ echo $sql_result; } ? So instead of doing a search.html that calls on do_search.php like most books teach. I am wanting to do a

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

2002-09-23 Thread Chuck \PUP\ Payne
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
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] Help with mail...

2002-09-22 Thread Chuck \PUP\ Payne
(), 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 --- HTML HEAD TITLEKillers Added/TITLE /HEAD BODY TOPMARGIN=50 ?php if ($fname

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] 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

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 document root. However, if you want

[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

[PHP] Time Stamp

2002-09-18 Thread Chuck Payne
()); ? This should pass the time right? 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
= nbsp;; } 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

[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] Help getting count to show up.

2002-09-10 Thread Chuck Payne
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 ? $db = mysql_connect('localhost','user','passwd

[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] E-mail a submit

2002-09-09 Thread Chuck \PUP\ Payne
Hi, Is there a way that when someone add a submit or edits a record that I can have my php page e-mail that record? And is hard to do? Chuck Payne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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

[PHP] How to print a mysql result

2002-09-07 Thread Chuck PUP Payne
Hi, I am having a problem with menu options being pass on to my database. Is there a way that I can see what is sql statement that is passing on to the database? Say maybe print $sql or something like that? Chuck Payne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] How to do pass on information...

2002-09-07 Thread Chuck PUP Payne
is where I am lost. Chuck Payne Magi Design and Support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Lost, need help debuggin....

2002-06-24 Thread Chuck \PUP\ Payne
. 'Next/a '; } print /td; print /tr; } ? /table /body /html Thanks a head of time if you can show the error(s) in my code. Chuck Payne Magi

Re: [PHP] Lost, need help debuggin....

2002-06-24 Thread Chuck \PUP\ Payne
Not sure I am on my laptop, an iBook running php/apache. So I am not sure where php.ini is. Chuck On 6/24/02 3:29 PM, 1LT John W. Holmes [EMAIL PROTECTED] wrote: Do you have display_errors ON in your php.ini ?? ---John Holmes... - Original Message - From: Chuck PUP Payne [EMAIL

Re: [PHP] Lost, need help debuggin....

2002-06-24 Thread Chuck \PUP\ Payne
Look, I am glad that we are clear on php.ini, but I post my message in hopes that someone could look at it and say there your problem and go away, I've turn on error part no help. Same things. So somewhere there is a sytax error that is stopping it. PLEASE HELP! Chuck Payne On 6/24/02 3:54 PM

[PHP] Problem with MySQL

2002-06-14 Thread Chuck Payne
. Chuck Payne

Re: [PHP] Problem with MySQL

2002-06-14 Thread Chuck \PUP\ Payne
else } Tyler Longren Captain Jack Communications www.captainjack.com [EMAIL PROTECTED] - Original Message - From: Chuck Payne [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Friday, June 14, 2002 11:03 PM Subject: [PHP] Problem with MySQL Hi, I am working

[PHP] Are we getting spammed?

2002-06-03 Thread Chuck \PUP\ Payne
/change.php?id=d963dfb04befe0df8673367 050c9ad8d To unsubscribe, go to: http://www.social-ecology.org/ise-news/unsubscribe.php?id=d963dfb04befe0df86 73367050c9ad8d Chuck Payne Magi Design and Support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Re: BBS system

2002-04-27 Thread Chuck \PUP\ Payne
The I like I have try three now is phpnuke it so easy to set up you can have it up and running in 5 mins. YBBSE is another that is good. http://www.phpnuke.org http://www.yabbse.org | Chuck Payne | | Magi Design and Support | | www.magidesign.com

[PHP] ASP to PHP

2002-04-23 Thread Chuck PUP Payne
to change ASP file to PHP with out a lot of re-writes? Chuck Payne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Not A PHP question but I need help in a big way...

2002-04-22 Thread Chuck PUP Payne
find out this information. So I am sorry that I am asking but I not sure where to start. Chuck Payne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >