Re: [PHP] anaylyze email

2008-01-14 Thread clive
Depending on your mail server, you could possibly get your mail server to run a php script on an incoming email. Clive Yui Hiroaki wrote: Thank you for your response. I try to write a code. I actualy want to do; 1) some body send email to me; for example; to [EMAIL PROTECTED] from [EMAIL

Re: [PHP] $_GET and multiple spaces.

2008-01-14 Thread clive
Hi - What Al said, but you want to use the url_encode/url_decode functions in php Clive Churchill, Craig wrote: Hello, One of the values I'm passing in a URL string contains multiple spaces. a href=browse.php?DarScientificName=Argononemertes australiensis.../a (The multiple spaces

Re: [PHP] checking user input of MM-DD-YYYY

2008-01-15 Thread clive
Adam Williams wrote: I'm having users enter dates in MM-DD- format. is there a way to check if what they have entered is invalid (like if they enter 1-15-2008 instead of 01-15-2008) ? explode() and checkdate() perhaps? -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Looks like a bug with Smarty

2008-01-17 Thread clive
if ($question == 'php') domail('phplist',$question); if ($question == 'smarty') domail('smartylist',$question); Hi All, I using html_options smarty tag to output an associative array in select drop down. Here a sample associative array: array(5) { [CN-PEK-KEJ]= array(1) {

[PHP] are email address could be spammed

2008-01-24 Thread clive
http://www.mail4liste.de/viewtopic.php?p=259845sid=4b4f436983abded92e9a090cdea0c688 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] flash with PHP

2008-02-03 Thread clive
FlashKnowledge = 0; phpKnowledge = 1; I remember some time back finding a class for php and a class/unit/addon for flash that allowed communication between php file and flash files, just google for it Clive Alain Roger wrote: Hi, i would like to have a flash menu in my PHP website

Re: [PHP] Schedule tasks from server

2008-02-04 Thread clive
and move your site to a linux box, it will probably be better in the long run. Clive Paul Scott [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Mon, 2008-02-04 at 16:46 +0200, Pieter du Toit wrote: I am using paradigmsolutions.co.za. I read about cronjobs, but aparently

Re: [PHP] text messages

2008-02-04 Thread clive
blackwater dev wrote: I know this isn't specific to php but I need to add some code to my php pages to start sending out text messages. If anyone does this, how do you do it? Do you simply use a free service like teleflip or do you use a paid aggregator company? I use a paid service, called

Re: [PHP] Template system in PHP

2008-02-12 Thread clive
Xavier de Lapeyre wrote: Do any of you guys gurls know of a way to implement that template system. Smarty ? (The best one I know of is that of Wordpress) Regards, Xavier de Lapeyre Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] linking to an image with document_root

2007-06-01 Thread clive
at the variables you can make use of, I would imagine $_SERVER[SERVER_NAME] might be the ones you want. clive echo img src=\$img_url\ width=\250\ height=\163\/; I am certain the path is correct, If not what are my alternatives? R. -- Regards, Clive. Real Time Travel Connections

Re: [PHP] uploading really big files

2007-06-01 Thread clive
something like might prove useful, I doubt they wrote it themselves, then again maybe they did. -- Regards, Clive. Real Time Travel Connections {No electrons were harmed in the creation, transmission or reading of this email. However, many were excited and some may well have enjoyed

[PHP] Re: [BULK] [PHP] Redirecting to a parent page

2007-06-13 Thread clive
Yamil Ortega wrote: Lets say that I have the next structure on my web directory /file1.php /procces/file2.php /file3.php http://localhost/apache2/file1.php try this: header( refresh:'3'; url=./apache2/file3.php); Regards, Clive. -- PHP General Mailing List (http://www.php.net

[PHP] Re: [BULK] RE: [PHP] Re: [BULK] [PHP] Redirecting to a parent page

2007-06-13 Thread clive
Yamil Ortega wrote: Ok, but what happens if I change server and there is no more apache2 directory? Do I have to change all the headers in my 37 web pages? do this: // in a config file, or header file $sitename = http:/localhost/apache2/; eader file // whereever it is needed

Re: [PHP] PHP Competition - Win a copy of Zend Studio

2007-06-14 Thread clive
a friend of mine demo'd code that he had written many years ago in perl to solve this exact problem, he converted it to php a few years ago for fun. Im going to try and get him to enter the competition. Clive {No electrons were harmed in the creation, transmission or reading of this email

Re: [PHP] does this code look like it would check a file extensions, and disallow php files or exe files to be attached

2007-06-14 Thread clive
why don't you run it and find out. with errors turned on you will have quickly found out if it worked or not $filelinks=t3lib_div::_POST('file_name'); // the posting of the file name ok Ive never seen syntax like that before, maybe some else can help, looks like your doing this code from

Re: [PHP] Controlling project version

2007-06-18 Thread clive
svn is what I prefer. clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [BULK] Re: [PHP] OK to have many files in one folder?

2007-06-18 Thread clive
would store them in directories and sub directories. - -- Regards, Clive. Real Time Travel Connections {No electrons were harmed in the creation, transmission or reading of this email. However, many were excited and some may well have enjoyed the experience.} -- PHP General Mailing List

Re: [PHP] Re: PHP Brain Teasers

2007-06-27 Thread clive
?php class money { LOL, a penny saved is a penny earned -- Regards, Clive. Real Time Travel Connections {No electrons were harmed in the creation, transmission or reading of this email. However, many were excited and some may well have enjoyed the experience.} -- PHP General

Re: [PHP] PHP Brain Teasers

2007-06-29 Thread clive
ok this one should be easy: ? $animal = array (pig,cow,bat,chicken,dog); for ($i = 0; $i sizeof($animal); $i++) { $sighted = ($animal[$i] != bat ? see : blind); } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A very strange loop!

2007-07-09 Thread clive
Xell Zhang wrote: for ($i = 'A'; $i 'Z'; $i++) { echo $i . ' '; } Rather do it like this: for ($i = 65; $i 91; $i++) { echo chr($i) . ' '; } -- Regards, Clive. Real Time Travel Connections {No electrons were harmed in the creation, transmission or reading of this email. However, many

Re: [PHP] Re: what trick is this? How to do it?

2007-07-09 Thread clive
Man-wai Chang wrote: I asked here because I believe good PHP programmers are usually well-versed in client-side stuffs. :) That comment reeks of NLP :) clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Where does PHP look for php.ini??

2007-07-09 Thread clive
| `-- php.ini `-- cli `-- php.ini -- Regards, Clive. Real Time Travel Connections {No electrons were harmed in the creation, transmission or reading of this email. However, many were excited and some may well have enjoyed the experience.} -- PHP General Mailing List (http://www.php.net

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread clive
you need to split up your posted variable clive echo HTML tr td bgcolor={$rowColor}ID#, {$row['id']} /td td bgcolor={$rowColor}TicklerName, {$row['task_name']} /td td bgcolor={$rowColor}Instructions, a href='{$row['task_desc']}'Instructions/a/td td bgcolor={$dowColor

Re: [PHP] How to pass connection as global variable ?

2007-07-11 Thread clive
Hi Chris, I recreated a new connection in faq.php and it's working now. I had the impression that 1 connection could last during a user session, but apparently a user session may need many connections. Thanks again, Cor Have a read on persistent connections Regards, Clive. {No electrons

[PHP] non blocking fsockopen

2006-07-28 Thread clive
until it creates the socket or times out. I want to know if there is a replacement for fsockopen that attempts to open a socket, but returns immediately instead of blocking or is there another way to open a socket in a non blocking mode in PHP 4 thanks Clive. -- PHP General Mailing List

Re: [PHP] Display dynamic progress bar

2006-09-27 Thread clive
(tedd at sperling dot com). tedd -- Regards, Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Display dynamic progress bar

2006-09-27 Thread clive
clive wrote: tedd wrote: At 9:00 AM +1000 9/27/06, Choy, Wai Yew wrote: Like to get some advice from you guys... I've a html form page and the Action is link to a php script to process the form dataI would like to have a progress bar once the user hit the Submit button...The php script

Re: [PHP] Display dynamic progress bar

2006-09-28 Thread clive
javascript to do that. Oh wait, I did. tedd True, I just clarified it a bit , I hope, by adding the info about flushing the javascript updater thing from your php file. -- Regards, Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] WebMail client

2006-10-02 Thread clive
Peter Lauri wrote: Hi, Do you have any suggestion on WebMail clients written in PHP that is good and easy to install? Horde IMP and SquirrelMail is two that I found. Are there any AJAX supporting client? roundcube /Peter -- Regards, Clive -- PHP General

Re: [PHP] guess documentroot

2006-10-05 Thread clive
. -- Regards, Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [BULK] Re: [PHP] Apply the hyper link ( javascript functon ) with php

2006-10-09 Thread clive
what every you place between them. clive So, how to apply the echo tag for it ? Remark: $dir is php variable... Edward. J R wrote: echo 'a href=javascript:popup(\'index.htm\') Test /a'; On 10/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Dear All, How to apply the following

Re: [PHP] Apply the hyper link ( javascript functon ) with php

2006-10-10 Thread clive
/readme.htm Please help, thanks ! Edward. does $dir have a value ? probably nothing to do with php, does your page work if there was no php code in it and if you replaced ?php echo $dir? with a page url. and go through some tutorial on php !!! -- Regards, Clive -- PHP General Mailing List

Re: [PHP] mysqldump problem from PHP

2006-10-23 Thread clive
*Telephone:* +27 (021) 469 1052 *Mobile:* +27 (0) 72 441 3355 *Fax:*+27 (0) 86 681 5885 * Web:* http://www.zlogic.co.za *E-Mail:* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- Regards, Clive -- PHP General Mailing List (http://www.php.net

Re: [PHP] strtotime

2006-10-25 Thread clive
, date(m) + 3, 0, date(Y)); -- Regards, Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] heredoc usage [WAS: OPTION]

2006-10-26 Thread clive
/option; much easier to read, but slightly more taxing on the server. -- Regards, Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] No Error Messages

2006-10-31 Thread clive
Sancar Saran wrote: If page has some errors it stop producing any error messages. Neither page nor syslog. have you looked at the error_reporting setting in your php.ini file. perhaps set it too E_ALL, mine was set to E_ALL ~E_NOTICE by default on ubuntu 6.10. -- PHP General Mailing

[PHP] Re: [BULK] [PHP] why so slow?

2006-11-01 Thread clive
African I know), then again the weather affects our bandwidth and then again google.com loads with a second so I reckon its something else. Can you check the server loads and perhaps find out what sort of connection the box has? Clive -- PHP General Mailing List (http://www.php.net

Re: [PHP] why so slow?

2006-11-02 Thread clive
Mel wrote: I do have a book with the help of which I made this site and I have been working on it for many many weeks. (ashamed to say exactly how many!) Remember your first ever php site? No I am sure there are things even you don't know or understand and that you can use help from other

Re: [PHP] WAP?

2006-11-03 Thread clive
anymore, unless your accessing a wap page with brick. clive Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sorting MySQL queries

2006-11-05 Thread clive
Current code: $query = SELECT subject FROM table ORDER BY subject asc; $result = mysql_query($query); I dont seen any php code to do any sorting,just a mysql query, perhaps a mysql list or maybe you should try doing it in php yourself first. Not that I know the answer, but mysql does have

Re: [PHP] WAP?

2006-11-05 Thread clive
Richard Lynch wrote: On Fri, November 3, 2006 3:14 am, clive wrote: The closest I can come is with a deck whose entire contents spew out at once to a handset: Is there any reason why you insist on using WAP 1.X? clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] WAP?

2006-11-05 Thread clive
Richard Lynch wrote: On Fri, November 3, 2006 3:14 am, clive wrote: http://www.acousticdemo.com/nationalsystems/pizzahut.com/wap/index.wml tried the url on my nokia 6230i and get your first card displaying correctly. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] PHP in Kenya

2006-11-06 Thread clive
tedd wrote: Mark: Why should it make any difference where you set it up? differant countries and there banks have different policy's when it come to online credit card transactions. tedd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Code execution speed

2006-11-06 Thread clive
Eric wrote: I was looking for some ways to speed up the execution of my code. Im connecting to and displaying information from a newsgroup via sockets. The socket_recv's are slowing it down. What things other than the socket_recv's can I change to make the code faster. Just general tips.

Re: [PHP] Spam using email on website

2006-11-07 Thread clive
Pieter du Toit wrote: Hi guys I have a website that is being crawled or whatever and i have a submission form for an event. I keep on getting random mail from this form. I have even disabled the submit button on the form, but keep on getting it. What can i do? you could use a CAPTCHA

Re: [PHP] WAP?

2006-11-07 Thread clive
Richard Lynch wrote: So far, in my limited reading, it seems like more than a few people are saying the 1.x-only handsets are still out there yes true, just remember the 80/20 principle, how many of those older handset user will be using this wap site, actually depending on what you want to

Re: [PHP] 'View as HTML' Conversions

2006-11-07 Thread clive
Kevin wrote: Does anyone know how google have done this? or does anyone know any PHP equivalents, we are using the Windows IIS server. They employ some very clever people :) your best bet is to find a command line tool that can do what you need, then simply call this from php. Thanks

Re: [PHP] [newbie in session] Is is right behavior???

2006-11-08 Thread clive
appear ?. Just remember there must be nothing else in the php file before session_start(); not even blank lines. and have a look if your php is set to display errors, they may give you a clue clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Spam using email on website

2006-11-08 Thread clive
you to connect directly to a smtp server, so you can bypass the php mailer function. what can also to do is write all the info your about to email to a log file, this way you could at least see what these spammers are doing. clive -- PHP General Mailing List (http://www.php.net

Re: [PHP] Join table with clashing fieldnames

2006-11-08 Thread clive
Kris Leech wrote: I have an SQL query which has a simple join, this works and is fine the fields from the secondary table are added to the returned array. But what happens if I add another JOIN to a table which has fields which are the same name? Is there any way to have PHP prefix the key's

Re: [PHP] Join table with clashing fieldnames

2006-11-08 Thread clive
clive wrote: 1. This is a SQL question and not a php one. 2. select a.name as aname, b.name as bname, c.name as cname where a.id=b.id and a.id=c.id from a,b,c oops beer gone to my head, the from should come before the where as most of you I'm sure know. -- PHP General Mailing List (http

Re: [PHP] cURL uses

2006-11-16 Thread clive
Dave Goodchild wrote: You would use cURL to achieve the things cURL is built to achieve? Wow that answer is not even worth the calories your burned type it. Theres not such thing as stupid questions, only stupid answers In your case this phrase holds some truth. -- PHP General Mailing List

Re: [PHP] Smart Quotes not so smart

2006-11-16 Thread clive
Larry Garfield wrote: On our new devel setup (SQL Server 2k, OpenTDS ODBC driver, Apache, PHP 5.1.6), it works fine. On their new live setup, however, (same, but again not sure of the ODBC driver) they're getting the dreaded squares or question marks or accented characters that signify a

Re: [PHP] Hide Warnings

2006-11-17 Thread clive
Stein Ivar Johnsen wrote: Hi.. How can I hide Warning messages so they are not shown on screen..: look in your php.ini file and set error_reporting to an appropriate value or set display_errors to off -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Hide Warnings

2006-11-17 Thread clive
Stein Ivar Johnsen wrote: I have tried error_reporting(0); but this does not help. The program is still writing warnings to screen. My ISP is using PHP Version 4.3.10 if that is any help. I have no access to the PHP.INI file. Any more ideas, please? fix the code thats generating the errors?

Re: [PHP] backing up a database

2006-11-22 Thread clive
Ross wrote: I have a database and it needs to get backed up on a daily basis. Is there a class that allows me to create a backup and then save it as a .sql or excel or both to a folder of her choice? cron and mysqldump or pg_dump -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] How to check value in multidimensional array

2006-11-22 Thread clive
http://www.php.net/manual/en/function.array-search.php and look at the first User Contributed Notes. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CLI script exec() - how to control what gets dumped on the screen.

2006-11-28 Thread clive
Jochem Maas wrote: I have been trying to figure out how to use exec to run some commandline scripts (some perl scripts mysql in this case) WITH the output of the commands run via exec being shown on the screen. have you tried shell_exec ? clive -- PHP General Mailing List (http

Re: [PHP] counting clicks

2006-11-29 Thread clive
Ross wrote: Anyone got a script so I can count clicks on adverts. Doesn't have tosve to myqsl or anything just a text file will do. What about using mysql, but use a memory resident heap table, then every once in a while write this to a file or even better to a myisam table Ta Ross

Re: [PHP] Tidy HTML source?

2006-11-30 Thread clive
Mark Kelly wrote: Am I crazy to make an extra effort in my code to make the generated HTML pretty? By this I mean linebreaks, indentation etc. - stuff that is aimed at readability rather than correctness. This is obviously above and beyond simply making sure it validates. It's not a huge

Re: [PHP] Remote MySQL connection via PHP file

2006-12-01 Thread clive
cajbecu wrote: i suggest you: database.conf (the file on another server) host=localhost user=test pass=test anothervar=anothervalue have you thought of the security implications of this, a text file with user names/passwords, thats rather insecure I would say, on your script: $temp =

Re: [PHP] Remote MySQL connection via PHP file

2006-12-01 Thread clive
Scott wrote: Hi all, I've been searching around for a while, but cannot find a solution. For a project of mine, I need to keep the connection information to a MySQL server database on another server. ?php include http://www.remoteserver.com/remote_file.php;; // Use variables $user and $pass

Re: [PHP] Send emails from PHP ... in a secure way

2006-12-05 Thread clive
sending the email , via smtp or sendmail or what ever mta is on the system. With the MTA it should be que'd. Id you get an error with the MTA then something is very wrong Why cant you save the email in a file or a database and then send it later your self? clive -- PHP General Mailing List

Re: [PHP] $POST Q

2006-12-12 Thread clive
William Stokes wrote: Hello, Can someone tell me what wrong or to how to manage this? //default $limitorig = 10; echo select name=\USRlimitorig\; echo option selected value=$limitorig/option; echo option10/option; echo option20/option; echo option30/option; echo input type=\submit\

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

2006-12-12 Thread clive
Jim Lucas wrote: Seems like this list has slowed down alot. Anybody else notice this, or am I just missing something? jl well it is almost the end of the year perhaps some people are on holiday already? clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Forms and destroying values

2007-01-12 Thread clive
. You could also have a hidden form variable that has some random value, once used, it cant be used again. clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] is there another way ??

2007-01-18 Thread clive
Ali Nasser wrote: can you please check these out and tell me if there another way without installing externsions?? no sorry I cant check for you!

Re: [PHP] loop weirdness

2008-08-19 Thread clive
I presume you mean you see all the print_r's for each row and that you only see one row echo'd out in your html? You have your brackets in the wrong place, it should be something like this: if ($f_date != ) { while($row = ifx_fetch_row($info)) { //set your variables //echo

Re: [PHP] loop weirdness

2008-08-19 Thread clive
I presume you mean you see all the print_r's for each row and that you only see one row echo'd out in your html? You have your brackets in the wrong place, it should be something like this: if ($f_date != ) { while($row = ifx_fetch_row($info)) { //set your variables //echo out

[PHP] geolocation

2008-09-02 Thread clive
just want to know how others are doing this? If are using a specific method and know it to be robust and up to date please let me know. Thanks clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] check if a file is included

2008-09-12 Thread clive
('interceptor',$__SERVER[REQUEST_URI])) { // url } else { //probably included } but I would like to know if there is a neater, cleaner, sparkly way of doing this. Thanks Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] check if a file is included

2008-09-12 Thread clive
actually $_SERVER[script_name] is probably better if not being used from a webserver. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Adding encryption to passwords

2008-09-19 Thread clive
Per Jessen wrote: We use md5 for that sort of thing. there is also SHA-1 bit more overhead, bit more secure than md5 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reading a Word document from PHP

2008-09-23 Thread clive
Hi I know the new microsoft docx format is an xml document, so you could probably use the xml parser with that. Any chance you can get them to use a rtf file instead of a word file to convert to pdf, rtf is mostly readable text with some control words thrown in for formatting. clive Ashley

Re: [PHP] Scope of the variables around PHP class

2008-09-23 Thread clive
Define a class function and pass the array via this function or pass it via the classes constructor. VamVan wrote: Hello Guys, I have a problem here. I hope you can help me resolving it. Please see the code below array.php has $array1 = ('hello'='heelo',) require_once('array.php'); class

Re: [PHP] Re: php framework vs just php?

2008-10-06 Thread clive
give it a wipe not that I wouldn't. Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sms interfaces?

2008-10-09 Thread clive
before, bulksms.com and I know they have good coverage of the globe. Some mobile operators allow you to send a text to their users as an email for free ,ie [EMAIL PROTECTED], Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need help on MySQL query

2008-12-10 Thread clive
Rahat Bashir wrote: I need your help on writing a MySQL query. I see nothing php related in your question, try a mysql list. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variable name for constants?

2008-12-11 Thread clive
hope so.. Anders. I dont think you can do that with a constant, but you can do this a normal variable: $test = 'the value of test variable'; $var ='test'; echo $$var; // will echo $test; Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Variable name for constants?

2008-12-11 Thread clive
I dont think you can do that with a constant, but you can do this a normal variable: I stand under correction form my previous email, it can be done: define('TEST', 'the value of constant TEST'); $var= 'TEST'; echo constant($var); -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: Foreign Keys Question

2008-12-11 Thread clive
into there. Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Foreign Keys Question

2008-12-11 Thread clive
Robert Cummings wrote: It depends on the data. Certainly for student enrolments I would want a paper trail (so to speak) and would just set a status field. But if it was say, an online shopping cart or cached data... I'd just purge it. Cheers, Rob. yes - you are right, I was just thinking

Re: [PHP] Credit Card processing: Chase PaymenTech

2008-12-14 Thread clive
through to one of the developers of there payment gateway system, he was able to a make a few changesto the xml I sending and just like that I was able to process payments. Move providers Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Printing

2008-12-17 Thread clive
used a small program called batchprintpro. It simply monitors a directory and prints any new file that should appear. Its quite configurable and seems stable enough to print a few hundred documents per week. Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Import files from directory

2009-01-06 Thread clive
Merlin Morgenstern wrote: Has anybody an idea on how to do this? Thank you for any hint. I searched for this in google linux watch for new files and found this: http://www.linux.com/feature/150200 Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread clive
Richard Heyes wrote: Is there something in PHP5 which can generate the RSS feed? You don't need an extension to help you generate an XML feed. You dimply output XML data instead of HTML and send an appropriate content type header, eg: header('Content-Type: text/xml'); I was just

Re: [PHP] Can I make EasyPHP on Windows allow remote connections?

2009-01-14 Thread clive
Rahul wrote: I have EasyPHP installed on my Windows system and can connect to the php+mysql using localhost in the browser but I was wondering if I can connect to this computer (which is at my office) from my home. I have a web address alloted to my computer at office. If that 'web

[PHP] session mysteriously killed

2009-01-20 Thread clive
is logged out and from what file they were accessing with they got logged out, there is no discernible pattern, Im stumped, Does anyone have any idea how the session variables can be disappearing? Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] session mysteriously killed

2009-01-20 Thread clive
c...@l-i-e.com wrote: Are you perhaps storing the session data in a DB? No its using the file system If the field type is, say, text, and you put something large in $_SESSION, you'll have truncated data, the session manager can't unserialize it, and you will have a silent failure when

Re: [PHP] Client/Server Printing

2009-01-20 Thread clive
Ideally you want the document to print with the least amount of click or without having to open up 3rd party applications, would it be possible for the server to print to documents, I have done something like this before on a windows machine. Clive Paul M Foster wrote: I'd like a side

Re: [PHP] session mysteriously killed

2009-01-20 Thread clive
the sess_ file sometimes. Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Please explain: index.php/index/index

2009-01-21 Thread clive
this functionality to IIS 6, some are free and some paid for, Im currently using Isap/rewrite from helicontech which works for my needs ( zend framework). Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL class. Thoughts?

2009-01-22 Thread clive
in the master without the class deciding which one it should run on Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Make New-Age Money Online with Google

2009-01-26 Thread clive
Ashley Sheridan wrote: On Sat, 2009-01-24 at 10:14 +0200, Dora Elless wrote: That's why I am sending this email only to people I know and care about. And they send to a mailing list. Come again? So Funny, they went through all the trouble of signing up, unless hey have bots now

Re: [PHP] Get Money Fast with the Government Grants

2009-01-27 Thread clive
Dora Gaskins wrote: If you have received this email, take a time to really read it carefully! American Gov Money More spam, can't we have the maillist software require people to register before posting? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Weird url passing what does it mean, am I hacked?

2009-02-02 Thread clive
If your using firefox, are you sure its not some addon, does this URL appear in the HTML source? Clive Terion Miller wrote: I noticed yesterday that sometimes I was seeing a strange url passing at the bottom of the browser when clicking around my site I'm working on while watching the page

[PHP] double lines

2006-03-17 Thread clive
there are double line between paragraphs. Its almost like the textarea is putting in a extra \n, how can I test for this or fix this problem. Regards, Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: double lines

2006-03-17 Thread clive
Thanks Ive tried it and waiting for feed back from the client on my pc it shows correctly ,Im using thunder bird on his computer he uses outlook, but Ive sent it to other people who have outlook and its fine on there PC. Does the html textarea add in \r. clive Barry wrote: clive wrote

Re: [PHP] pulling in template file in var and populating vars?

2006-03-22 Thread clive
You could also look at using a templating engine like Smarty for instance. clive blackwater dev wrote: I have a chunk of html data that I want to output for each iteration through a db result while($result){ $list.=file_get_contents(my_template_file.php); } return $list; The template

[PHP] zipped files

2005-10-26 Thread Clive
Hi does any one have code/examples for unzipping a file thats been uploaded to a server. I would prefer a class rather than something that uses zip.lib as it may not be configured on the server. clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

  1   2   >