[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

Re: [PHP] Numeric help needed

2012-01-15 Thread Chris Payne
based on $69000.00 as the amount is always 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 wrote: > > > Sent from my iPhone > > On Jan 15, 2012, at 8:25 PM, "Christopher J Payne&

[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] Best way to read first 20 characters of a string?

2009-12-02 Thread Chris Payne
Wed, Dec 2, 2009 at 8:41 PM, Chris Payne > wrote: >> >> Hi everyone, >> >> I'm pulling data from a mysql database, but need only the first 20 >> characters of each string for a short description, what is the best >> method to just grab the first 20 cha

[PHP] Best way to read first 20 characters of a string?

2009-12-02 Thread Chris Payne
Hi everyone, I'm pulling data from a mysql database, but need only the first 20 characters of each string for a short description, what is the best method to just grab the first 20 characters from a string regardless of whether they are letters or numbers? Chris -- PHP General Mailing List (htt

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

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

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

[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 below?

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, a

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

2009-07-20 Thread Chris Payne
On Mon, Jul 20, 2009 at 12:30 PM, Per Jessen 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

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

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 pr

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 Brown wrote: > On Fri, Jul 10, 2009 at 17:37, Chris Payne wrote: >> Hi everyone, >> >&

Re: [PHP] HELP SQL INJECTION

2009-07-10 Thread Chris Payne
2009, at 1:50 PM, Daniel Brown wrote: > >> On Fri, Jul 10, 2009 at 15:48, Chris Payne >> wrote: >>> >>> Hi everyone, >>> >>> My server appears to be the victim of a chinese hack-attack and I >>> believe they managed to change pages via SQ

[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 (http://www.php

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

[PHP] Search/Replace in entire database?

2009-06-14 Thread Chris Payne
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

Re: [PHP] A couple of questions

2009-03-16 Thread Payne
Nick Cooper wrote: 2009/3/16 Stuart mailto:stut...@gmail.com>> 2009/3/16 Payne 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 code is b

[PHP] A couple of questions

2009-03-16 Thread Payne
#x27;t see 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? Thank

[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/) To

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

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 What

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 (http

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

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

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

2008-07-23 Thread payne
do that. I have looked 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
do that. I have looked 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

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 tag. htmlspecialchars() will do this for you. 2) Use a tag within which newlines are preserved 3) Use preg_replace to replace non-pr

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

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 b

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

2007-08-01 Thread Payne
order by country asc; I know 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
7; '--enable-safe-mode' '--enable-sigchild' '--disable-ctype' '--disable-session' '--without-mysql' '--disable-cli' '--without-pear' '--with-openssl' '--with-apxs2=/usr/sbin/apxs2-prefork' 'i586-

[PHP] Help with getting PHP to see Pear.

2006-01-23 Thread Payne
7; '--enable-safe-mode' '--enable-sigchild' '--disable-ctype' '--disable-session' '--without-mysql' '--disable-cli' '--without-pear' '--with-openssl' '--with-apxs2=/usr/sbin/apxs2-prefork' 'i586-suse-lin

Re: [PHP] A simple question

2004-11-13 Thread Chuck PUP Payne
"; $result = @mysql_query($sql, $connection) or die("Couldn't execute query."); ?> Sorry to ask, just nothing 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 i

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.ph

[PHP] A simple question

2004-11-13 Thread Chuck PUP Payne
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] 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] Help with Javascript

2003-11-12 Thread Payne
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

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

2003-11-11 Thread Payne
oard() {</tt><br> <br> <tt> document.billboard.src = billboards[boardNum].src;</tt><br> <br> <tt> if (boardNum < billboards.length - 1) {</tt><br> <br> <tt> boardNum++;</tt><br> <br> <tt> } else {</tt><br> <br> <tt> boardNum = 0;</tt><br> <br> <tt> }</tt><br> <br> <tt>}</tt><br> <br> <tt>function jumpBillboard() {</tt><br> <br> <pre style="margin: 0em;">window.location.href = url[boardNum]; } Thanks 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] ORDER BY RAND()....

2003-10-29 Thread Payne
i row, 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 t

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;

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

2003-10-29 Thread Payne
echo "Sorry, no message of day today"; } echo "" ?> 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

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 ht

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 machines

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

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

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 tab

[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] 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 (B>Is the codepage of filesystem and of the string the same? What do you (B>see if you list the files in the directory using php? (B> (B>umesh wrote: (B> (B> (B> (B>>Hi Gurus, (B>> (B>>I a

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

[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

Re: [PHP] passing form information.

2003-10-02 Thread Payne
e .$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 missing an ? at the last echo secondly I would rewrite the sql statement to read $sql = "INSERT INTO $table_name (leads_

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

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 (htt

Re: [PHP] passing form information.

2003-10-02 Thread Payne
Sorry, I am LD. I do have the 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 missing an

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

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 appropr

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

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

Re: [PHP] Wanting to better understand

2002-10-01 Thread Chuck PUP Payne
e stuff; > } > > Also, be careful about overwriting $days with that long string and then > trying to compare it to a numeric value. You probably want to use a > different variable name for the string. > > Happy hacking. > > Chris > > Chuck \"PUP\" Payn

[PHP] Wanting to better understand

2002-10-01 Thread Chuck \"PUP\&quot; 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
either a > function, 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

[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\&quot; 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
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? So instead of doing a search.html that calls on do_search.php like most books teach. I am wanting to do a search.php. Just print the information on that page. Ch

[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\&quot; 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\&quot; 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\&quot; 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\&quot; 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] E-mail a submit

2002-09-09 Thread Chuck \"PUP\&quot; 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] How to do pass on information...

2002-09-07 Thread Chuck PUP Payne
;$letter' But it get to the sql statement 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] How to print a mysql result

2002-09-06 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

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

2002-06-24 Thread Chuck \"PUP\&quot; 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:

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

2002-06-24 Thread Chuck \"PUP\&quot; Payne
ssage - > From: "Chuck "PUP" Payne" <[EMAIL PROTECTED]> > To: "PHP General" <[EMAIL PROTECTED]> > Sent: Monday, June 24, 2002 3:24 PM > Subject: [PHP] Lost, need help debuggin > > >> Hi, >> >> I am trying to de

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

2002-06-24 Thread Chuck \"PUP\&quot; Payne
} // If it's not the last page, make a next buttton. if($current_page !=$num_pages) { print 'Next '; } print ""; print ""; } ?> Thanks a head of time if you can show the error(s) in my code. 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] Problem with MySQL

2002-06-14 Thread Chuck \"PUP\&quot; Payne
myrow[title]; > $videoid = $myrow[videoid]; > $catergory = $myrow[catergory]; > $appraisal = $myrow[appraisal]; > > // blah blah blah everything else > } > > Tyler Longren > Captain Jack Communications > www.captainjack.com > [EMAIL PROTECTED] > > - Origi

[PHP] Problem with MySQL

2002-06-14 Thread Chuck Payne
"; } What am I doing wrong? It only show one record and it show more. Chuck Payne

[PHP] Are we getting spammed?

2002-06-03 Thread Chuck \"PUP\&quot; Payne
g/ise-news/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://w

Re: [PHP] Re: BBS system

2002-04-27 Thread Chuck \"PUP\&quot; 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

  1   2   >