RE: [PHP] [Newbie Guide] For the benefit of new members

2003-08-26 Thread Burhan
filters for such messages. Do not request return reciepts, received reciepts, etc. Do not send attachments If at all possible, send your message plain text. Trim as the original post only to the parts that are relevant to your discussion. No point seeing the same code repeated in five emails.

Re: [PHP] MD5 System Password check with PHP

2003-08-26 Thread Burhan
; > MD5 format (in /etc/shadow). > > > > Can anybody help me? See http://www.zend.com/zend/tut/authentication.php -- Burhan phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MD5 System Password check with PHP

2003-08-26 Thread Burhan
Quoting Justin French <[EMAIL PROTECTED]>: > Burhan, > > Please try to quote the right person when replying to a thread -- your > messages was, I assume, intended for Chinmoy Barua, not me. > > It saves confusion, and keeps the thread more useful and easier to > f

Re: [PHP] PHP/Oracle : bug with accent...

2006-03-15 Thread Burhan
David BERCOT wrote: Hi, I have a big problem with my Debian server (Apache 2, PHP 5, Oracle Instant Client). I've modified the environment variable NLS_LANG and, with SQL*Plus, everything is ok ! But, in a PHP page, I can't insert a value with accent (ex: Irène). I can read data with accent, but

Re: [PHP] Creating a unique index ID

2006-03-15 Thread Burhan
tedd wrote: Hey all, I've got a project where I'm taking form information from the user and writing records to several tables in a MySQL database. The problem I'm having is I need to write a unique number for the ID column of the records. Auto increment won't work because I could have conflict

Re: [PHP] Re: Printing library in PHP ?

2006-03-15 Thread Burhan
robert mena wrote: Hi Manuel, I am trying to print from the client side. The client will be windows. Use ActiveX if you can get them to stick with IE (shouldn't be a problem). Google for 'ScriptX.cab' -- a free printing control that lets to fine tune printing. -- PHP General Mailing List

Re: [PHP] php file upload permission query

2005-12-16 Thread Burhan
Angelo Zanetti wrote: thanks, but Im sure there is something that is messing up the file permissions that I can change before the upload, instead of trying to cure the problem by setting the chmod of the file after its uplaoded Check the following things: 1. umask settings on the director

Re: [PHP] REGEX query

2006-02-08 Thread Burhan
phplists wrote: Hi, I'm still trying to get to grips with REGEX and have hit a hurdle with the following: I have this bit of text: (\(EX\) RV-6 ) I want to remove the '\(EX\)' part of it so leaving just: ( RV-6 ) $text = '(\(EX\) RV-6 )'; $bits = explode(' ',$text); $leaving = '( '.$bits[0

Re: [PHP] mysql_query

2003-07-06 Thread Burhan Khalid
those words? try this SELECT * FROM table WHERE name = jo% KF> example... i have 1 column with 5 rows each 6 numbers inside : KF> 821554 KF> 821674 KF> 818937 KF> 819378 KF> 818977 KF> and i want to query and show onmy begining with 821* SELECT * FROM table WHERE number >

Re: [PHP] XML

2003-07-08 Thread Burhan Khalid
llow third party applications to communicate with their apps (as far as the enterprise level goes). Anyhow, just my $0.02 -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fwd: Re: [PHP] Read a file

2003-07-08 Thread Burhan Khalid
This is a forwarded message From: Burhan Khalid <[EMAIL PROTECTED]> To: Carlos Castillo <[EMAIL PROTECTED]> Date: Tuesday, July 8, 2003, 6:14:45 PM Subject: [PHP] Read a file ===8<==Original message text=== On Tuesday, July 8, 2003, 6:08:20 PM, Carlos wrote

Re[2]: [PHP] Read a file

2003-07-08 Thread Burhan Khalid
t use the XMLDOM extension. It might be of help to you. -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Text boxes posted to MySQL record that contain quotes

2003-07-08 Thread Burhan Khalid
ail and I'd V> like anything written to be able to post. Try mysql_escape_string() -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP4 and PHP5 at one machine

2003-07-08 Thread Burhan Khalid
e Apache install, so you'll have a convienient place to control your servers. -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] nested for loops

2003-07-09 Thread Burhan Khalid
On Wednesday, July 9, 2003, 8:56:17 PM, Micah wrote: [ snip ] MM> for ($j=0: $j < 5; $j++) { that : needs to be a ; [ snip ] -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] mssql.dll

2003-07-10 Thread Burhan Khalid
Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Using PPP with PHP

2003-07-10 Thread Burhan Khalid
t; subsequent file operations. The information is returned via STDOUT. How about piping the output to a file and then checking that file with PHP? -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!! can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Burhan Khalid
Please use more intelligent and descriptive subjects for your posts. This HELP!!! nonsense is stupid. -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] regexp problem

2003-07-10 Thread Burhan Khalid
freenode (IRC) that I have found to be extremely helpful in this regard. If you do find any good tutorials, I would appreciate an offline. -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variable Functions...

2003-07-10 Thread Burhan Khalid
gt; and this throws errors on Windows versions of php that i've tried. why MS> is that? Does it error out on l/unix? -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] So in summary this can't be done due to permission problems?

2003-07-11 Thread Burhan Khalid
m a directory, not necessarily execute. Although I'm not too sure about this. M> Am I missing something basic? Quite possibly... This isn't the easiest of things... -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need PHP on Win2000 Pro

2003-07-13 Thread Burhan Khalid
ere is the link <http://www.meidomus.com/archives/59.php> Please read the use comments, and if you have any questions, you can email me off-list :) -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To uns

[PHP] How To Ask Questions - Some List Guidelines

2003-07-14 Thread Burhan Khalid
LL)), an easy way to get rid of those is to verify that an index actually holds a value. There are a few ways to do this, but I like : $value = (!empty($_REQUEST['value'])) ? $_REQUEST['value'] : null; This ensures that a value is only set if the index is valid i

Re[2]: [PHP] Moving Files/ Temporary Names

2003-07-14 Thread Burhan Khalid
be careful about permissions. You might have permissions to copy, but not delete. Hoping this helps, -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] How do I dump a blob or text into a mySQL Database?

2003-07-14 Thread Burhan Khalid
;> Anyone have any ideas? BP> Is $buffer empty? I would start there. I would also look at serialize() -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ANY ONE CAN TELL ME WHAT PORT mssql_connect uses?

2003-07-15 Thread Burhan Khalid
; I heard about FreeDTS and iODBC, but I need some advice and notes to make it N> easy for me.. Have you looked at the PEAR DB class? It provides connectivity for almost every database that can understand SQL. -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -

Re: [PHP] Searching a test file...

2003-07-15 Thread Burhan Khalid
echo "here"; } else { echo "whoops ... MIA"; } } } -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Detecting If A Variable Arrives At A Page From A Get Or A Post...

2003-07-25 Thread Burhan Khalid
name']) { came from GET } etc. Unless you already knew that and wanted something specific. -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Get the current file name

2003-07-27 Thread Burhan Khalid
On Friday, July 25, 2003, 4:59:24 PM, Shaun wrote: S> thanks for your reply, S> but that doesn't seem to work either, how about removing everything after S> and including the ?, how would i do that? try echo basename($_SERVER['PHP_SELF']) Please trim your posts :) --

Re[2]: [PHP] Opinions on Micro$oft .NET

2003-08-02 Thread Burhan Khalid
t that -- with the proper hardware configuration -- .NET-based platforms are quite reliable and speedy. Just my $0.02 or whatever $0.02 is in euros. -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Easy XML & PHP tutorials ?????

2003-08-21 Thread Burhan Khalid
rite one is at zend http://www.zend.com/zend/tut/ -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XML Problems

2003-03-20 Thread Burhan Khalid
Thanks for any pointers :) -- Best regards, Burhan mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File Searching problem

2003-04-01 Thread Burhan Khalid
]=$file; } closedir($handle); return $result_array; } Call it like this : $file_list = getFiles("/parent/sub"); Regards, -- Burhan Khalid phplist[at]meidomus[dot]com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie

2003-04-02 Thread Burhan Khalid
0 You have two options : 1. turn off warnings 2. edit the php.ini settings as it states "by setting ..." -- Burhan Khalid phplist[at]meidomus[dot]com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Email advice

2003-04-02 Thread Burhan Khalid
ystem so I can control the delivery of email for my entire network. Works wonders, and you don't have to worry about your ISP SMTP service choking on multiple emails. Hoping this helps, -- Burhan Khalid phplist[at]meidomus[dot]com -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] uploading entire directory, with or without compression...

2003-04-02 Thread Burhan Khalid
you will have to ask the client for security permissions, since client apps do not have access to the remote file system (for good reason). Either that, or you can write a Java applet to do it. Bottom line, no way to do it with PHP, but if you really want it done, look to other languages. -- Burh

Re: [PHP] Menu from Directory

2003-04-02 Thread Burhan Khalid
arked REFERENCE DOWNLOAD) Let me know if this is what you were after and I will post the code. Its just two functions. -- Burhan Khalid phplist[at]meidomus[dot]com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Html forms to php scripts

2003-04-02 Thread Burhan Khalid
its in the release notes) so, try replacing your echo statement with echo $_POST['ttt']; and see if that helps. -- Burhan Khalid phplist[at]meidomus[dot]com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] So many functions!

2003-04-02 Thread Burhan Khalid
ge"]= "Aller à la page suivante" ; ... And I need to extract "english" and "francais". As it, when I will add another language such as "espanol", it will be automatic... Any idea ? Try while(list($key, $val) = each($lang)) { echo $key." : ".$val; } -- Burhan Khalid phplist[at]meidomus[dot]com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: httpd.conf - php entry?

2003-04-03 Thread Burhan Khalid
thing in there would be the AddType/LoadModule stuff, which tells Apache what do to with files that are PHP. PHP settings are stored in a php.ini file. On windows, its found in c:\windows\php.ini, on linux/unix run this command to find the file (as su) : find / -name "php.ini" -

Re: [PHP] HTTP or HTTPS

2003-04-03 Thread Burhan Khalid
Alexander Weber wrote: Hi! anybody knows how to find out the connection type (http or httpS)? Tried out $HTTP_SERVER_VARS. Thanx a lot! Alex Try $_SERVER['SERVER_PROTOCOL'] -- Burhan Khalid phplist[at]meidomus[dot]com -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] Q. Adding line numbers to highlighted source

2003-04-03 Thread Burhan Khalid
ob_end_clean(); $data_lines = explode('',$data); for ($i=0, $j=count($data_lines); $i < $j; $i++) { $k = $i + 1; $ret .= ''.$k.''.$data_lines[$i]."\n"; if (strlen($data_lines[$i]) > 450) { $ret .= ''; } } return $ret; } http://www.php.net

Re: [PHP] isp configuratuion error

2003-04-04 Thread Burhan Khalid
that comes with the package. I'm not on my php box or else would give you the exact line to change, but I know its the force-cgi-redirect (might be cgi_force_redirect) setting that's causing this problem (had similar issue with local IIS install) -- Burhan Khalid phplist[at]meidom

Re: [PHP] newbie help, pressing the submit button returns nothing

2003-04-04 Thread Burhan Khalid
4.1 = $HTTP_POST_VARS['UserName'] PHP version > 4.1 = $_POST['UserName'] -- Burhan Khalid phplist[at]meidomus[dot]com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php5 writeup

2003-04-04 Thread Burhan Khalid
If anyone's intersted, I've got that same presentation in .pdf format available. Just send me an email and I'll send you the link to it. -- Burhan Khalid phplist[at]meidomus[dot]com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php5 writeup

2003-04-04 Thread Burhan Khalid
Clint Tredway wrote: I would like it -Original Message- From: Burhan Khalid [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 8:02 AM To: Marek Kilimajer; [EMAIL PROTECTED] Subject: Re: [PHP] php5 writeup If anyone's intersted, I've got that same presentation in .

Re: [PHP] PHP syntax colouring on documentation

2003-04-04 Thread Burhan Khalid
/function.highlight-string.php http://www.php.net/manual/en/function.highlight-file.php -- Burhan Khalid phplist[at]meidomus[dot]com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Menu from Directory

2003-04-04 Thread Burhan Khalid
me,0,strlen($name)-4); echo "\n"; } echo "\n"; // space } I hope this helps you out. Let me know if you can't understand anything :) -- Burhan Khalid phplist[at]meidomus[dot]com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

re: [PHP] PHP Rounting Time

2003-04-04 Thread Burhan Khalid
0946 through 1000 == 1000 > > I'm sure there's a better way to do this, but : $time = {any range} if (substr($time,2,1) > 3) { $time = "0".substr($time,0,1)+1."00"; } else { $time = "0".substr($time,0,1)."00"; } Untested -- Burh

Re: [PHP] PHP Rounding Time

2003-04-04 Thread Burhan Khalid
better way to do this, but : $time = {any range} if (substr($time,2,1) > 3) { $time = "0".substr($time,0,1)+1."00"; } else { $time = "0".substr($time,0,1)."00"; } Untested -- Burhan Khalid phplist[at]meidomus[dot]com -- PHP General Mailing L

Re: [PHP] PHP Email Attachment problem

2003-04-04 Thread Burhan Khalid
7;tmp_name'], uploaddir . $_FILES['fileatt']['name']); } uploaddir needs to be $uploaddir in your move_uploaded_file function [ snip ] -- Burhan Khalid phplist[at]meidomus[dot]com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Email Attachment problem

2003-04-04 Thread Burhan Khalid
Michael Arena wrote: did that...still sends only a file called ".txt" size zero ? try replacing $fileatt with $_POST['fileatt'] -- Burhan Khalid phplist[at]meidomus[dot]com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Win95 - PHP - Apache - MySQL

2003-04-04 Thread Burhan Khalid
e it needs something extra, but then again, maybe you forgot to edit your hostfile, or maybe you forgot to start apache? Give is some more to chew on! fwiw, I have a tutorial that shows you how to setup Apache and PHP on Windows, and how to setup mySQL for windows. http://www.meidomus.com

Re: [PHP] PHP Email Attachment problem

2003-04-04 Thread Burhan Khalid
being sent $fileatt_name = $_FILES['fileatt']['name'];// Name of file " "/home ... ".$_POST['fileatt']; [ snip ] -- Burhan Khalid phplist[at]meidomus[dot]com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Design - Database, Hard File, Combination?

2003-04-05 Thread Burhan Khalid
thing -else ..|sub-something-else ...|etc. .|else-something ..|it's children [ snip ] I think if you were to change you menu definition file to XML, it would make this a lot easier. Then you can use the domxml functions to grab your parent/child relationships. -- Burhan Khalid phplist[at]me

Re: [PHP] Query

2003-04-05 Thread Burhan Khalid
using the xml/rss functions. 3. If you are on a unix box, you can copy a page on that site, and then at an iterval copy another page, and run diff on it to see if it changes (this is the most rediculous way of doing it, but I have seen it done). -- Burhan Khalid phplist[at]meidomus[dot]com -- PHP

Re: [PHP] Whats wrong with my code?

2003-09-20 Thread Burhan Khalid
Whenever the error is on the last line, check the line before it. Like others have suggested, narrow your post down to a test case, never send attachments. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

Re: [PHP] Trying to View php.ini

2003-09-21 Thread Burhan Khalid
l I have is the blank. Any suggestions? Put a file phpinfo.php with phpinfo(); ?> in your server's root and call it with the browser, it will tell you where the php.ini is, don't think it can be empty. Actually, php.ini can be empty and php will start with default options. --

Re: [PHP] Housing multiple classes under one class

2003-09-21 Thread Burhan Khalid
ds foo { .. } -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Formatting a string for entry into MySQL

2003-09-23 Thread Burhan Khalid
James Johnson wrote: Hi, I'm trying to generate a string that contains a , to insert into a MySQL table. It appears the is being stripped out either just before or during the update. http://www.php.net/mysql-escape-string -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomu

Re: [PHP] PHP class and extends

2003-09-24 Thread Burhan Khalid
teQuery(x,y); return array($tmpResult[1], $tmpResult[0]); } This might work : $tmpResult = parent::ExecuteQuery($x,$y); (you forgot the $) -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

Re: [PHP] How to achieve bi-directional communication between two servers?

2003-09-24 Thread Burhan Khalid
through SSL too, but that should be transparent I'd think. Again, XML-RPC and SOAP both work through SSL. You could try fsockopen, but what would you open the socket to? Some program running on another computer, right? You can bypass all the fsock nastiness if you use web services :

Re: [PHP] where are the good examples of using OOP?

2003-09-28 Thread Burhan Khalid
ne. A good OOP application for community websites is Drupal - www.drupal.org -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IIS Ports

2003-09-28 Thread Burhan Khalid
Jon Kriek wrote: The point is get a "good" firewall, doesn't matter which one. Personally I prefer Sygate Personal Firewall PRO http://smb.sygate.com/products/pspf/pspf_ov.htm Enabling ICF will probably help. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com

Re: [PHP] How many Mondays in a month?

2003-09-29 Thread Burhan Khalid
Function call would be : $my_date = array(); $my_date['day'] = "Mon"; $my_date['month'] = "Jan"; $my_date['year'] = "2003"; num_days($my_date); Of course the indexes could be in any order, as long as they have day, month, year as k

Re: [PHP] Cleaning up my messy code

2003-09-29 Thread Burhan Khalid
. It has served me well, especially since all of the grunt work is taken care of by PEAR. Good luck, and I hope this helps. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Page cannot be displayed

2003-09-30 Thread Burhan Khalid
: nothing Try this http://www.meidomus.com/node/view/3 -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] An Error Tracking System

2003-09-30 Thread Burhan Khalid
triggered. More information on predefined constants > http://www.php.net/constants.predefined -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Making a Session Longer

2003-09-30 Thread Burhan Khalid
open relay and your messages are getting logged as spam :( -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Calculate total amount from input

2003-10-01 Thread Burhan Khalid
d 3"]); } else { $errors .= "Field 3 not entered"; } if ($errors != "") { echo "Errors : ".$errors; } $total = number_format($total, 2, '.', ''); echo "Total is \$ ".$total; -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Creating Objects!

2003-10-03 Thread Burhan Khalid
cope. If you want to create an instance of the object that you don't plan to use in other members of that class, then you can make it "local" to that member by omitting $this-> -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mail.php help

2003-10-03 Thread Burhan Khalid
ady a localhost.com registered on the net. Also worthwhile to check is if your MTA requires authentication. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to read remote files

2003-10-03 Thread Burhan Khalid
to wake up. John is correct. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $_ENV not working for me with PHP 4.2.0

2003-10-06 Thread Burhan Khalid
ng Debian Linux. Try echo ""; print_r($_ENV); echo ""; to see what information is available in the ENV array. Are both servers running the same implementation of PHP? (CGI/SAPI, etc.) -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing Lis

Re: [PHP] Wrapping code inside [code]xxx[/code] tags.

2003-10-06 Thread Burhan Khalid
http://www.phpclasses.org -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie

2003-10-06 Thread Burhan Khalid
out. You can find it at my website (in the signature). Here is the direct link : http://www.meidomus.com/node/view/3 Post a comment there, or you can email me if you have another question. :) -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://ww

Re: [PHP] Newbie

2003-10-06 Thread Burhan Khalid
e/CSS http://glish.com/css Email me off list if you have any other questions :) -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: mail() function, how to get it work?

2003-10-06 Thread Burhan Khalid
using the mail() function. Since you are one WinXP Pro -- you can download something like postcast http://www.postcast.com (a free SMTP server), and use that instead. However, the original statement is correct ... mail() doesn't support SMTP authentication. -- Burhan Khalid phplist[at]meidom

Re: [PHP] include() problems

2003-10-06 Thread Burhan Khalid
main.com/forums/ssi.php?a=active The code I'm trying now is: $_GET['a'] = 'active'; include('forums/ssi.php'); Well, since everyone has commented on the including-same-file idea, might I point that this : $_GET['a'] = 'active'; looks a bi

Re: [PHP] File read and sort question

2003-10-06 Thread Burhan Khalid
I couldn't give you a factual calculation of execution times. Just the thoughts of someone that obviously is lacking in sleep. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] null character - file related function

2003-10-06 Thread Burhan Khalid
Curt Zirzow wrote: Some functions are documented as binary safe, i'm not entirely sure what php's policy is on noting if a function is binary safe or not. I believe for some, it states in the manual. Something like "this function became binary safe as of PHP version ___"

Re: [PHP] IRC & SOCKETS

2003-10-07 Thread Burhan Khalid
socket functions, but i am a litle lost in here. Could anyone help me? Thanks a lot!!! This was asked and answered a few days ago. Do a search on the list archives. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] (native) linux-php-editor with some advanced features?

2003-10-07 Thread Burhan Khalid
oltips with the function definition or similar. Try SciTE ;) - Free - Syntax highlighting - Function/block folding - "Intellisense"-like function lookups - Built-in save as PDF support (a big plus for me) - Doesn't need java - Runs very fast (on Windows atleast) I'll let you

Re: [PHP] shell_exec question

2003-10-08 Thread Burhan Khalid
" and "master" values are what you want them to be. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] GET globals REQUEST the plot thickens

2003-10-08 Thread Burhan Khalid
mp;gen=Y if I change the request to GET it works fine! Is PHP running as compiled/CGI/ or what? And what webserver is this? -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] configuration class - skeleton code for first OOP adventure

2003-10-08 Thread Burhan Khalid
I'll start with a class that let's me read and write a configuration file. Save yourself a lot of headache learn how to use PEAR and OOP all in one fell swoop by using PEAR::Config http://pear.php.net -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mai

Re: [PHP] HTML Printing problem.

2003-10-08 Thread Burhan Khalid
change formats. Trying to trick it into doing something might not be the best solution. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Credit Card Validation

2003-10-09 Thread Burhan Khalid
, others charge a percentage of each transaction. That's a rediculously simplified version of the transcation process :) You can download the APIs for the gateways and see what kind of requests and responses your application can expect. Authorize.net's is quite comprehensive (I have

Re: [PHP] Installing PHP on XP

2003-10-09 Thread Burhan Khalid
contribution to the "php apache on windows xp tutorial" pot http://www.meidomus.com/node/view/3 Best of luck :) -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Saving Form Data

2003-10-09 Thread Burhan Khalid
can use the xml_dom* and xml_parser (SAX) functions to parse your file. I haven't tried it personally, but I hear that it can be done with the sax parser (from the fine poeple at #php) Worth a try. http://www.php.net/xml -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -

Re: [PHP] Video Streaming

2003-10-10 Thread Burhan Khalid
ow to integrate this with PHP. This has very little to do with php. What you need is a streaming server. Is there any special newgroup for this ? Don't know about that, but this definately isn't the mailing list for streaming video questions ;) -- Burhan Khalid phplist[at]meidom

Re: [PHP] PHP weirdo bahavior (code mutation)

2003-10-10 Thread Burhan Khalid
tomer"; $sql="select * from [$table_customer] where [id] = '$id' "; Try $sql = "SELECT * FROM ".$table_customer." WHERE id = '".$id."'"; and see if you get the same error. If you are using MSSQL, I think that [ ] are optional, but I coul

Re: [PHP] ftp_connect() issues

2003-10-14 Thread Burhan Khalid
Could it be that your script is timing out? Did the php version change? -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Makeing automatic tags for email and www.

2003-10-15 Thread Burhan Khalid
ww.php.net/manual/en/function.preg-replace.php -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cURL > Authorize.Net > Super slow processing times!!

2003-10-15 Thread Burhan Khalid
ishes processing and they are taken to their confirmation receipt. I was wondering if anyone had any similar experiences with Authorize.net or would know how to speed this process WAY up. Its just too darn slow. Have you tried using something other than cURL? -- Burhan Khalid phplist[at]meidomus[dot]com

Re: [PHP] Max no of recipients in To field of mail function

2003-10-15 Thread Burhan Khalid
Binay : Please don't request return reciepts for your messages. Also, try and trim your posts. No need to see the standard php mailing list signature 4 times. (This should be in the newbie tip sheet, along with avoid sending attachments, high priority, etc.) -- Burhan Khalid phpli

Re: [PHP] windows user_name

2003-10-18 Thread Burhan Khalid
ning as a ISAPI module under IIS, and the security settings should be NTLM, and the user is logged on to the same domain as the IIS server, then $_SERVER['AUTH_USER'] should be the logged in user name. However, to design an app around that isn't the best way to do it. -- Burhan

Re: [PHP] Login system

2003-10-18 Thread Burhan Khalid
d/tut/authentication.php I will reserve my comment about what an dingleberry Bas is, and would just like to add that link in vain hopes (*chuckle*) that Bas is actually interested in doing some work. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.ph

Re: [PHP] SESSION Not behaving II: permission denied(13)

2003-10-18 Thread Burhan Khalid
o that the apache user and/or group can write to /tmp; or you can chmod it to 777 (which could lead to other security issues). This should get rid of your warnings. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] php site

2003-10-19 Thread Burhan Khalid
re another thread like this not too long ago? ) -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   5   6   >