Re: [PHP] news and article posts in one table

2011-11-24 Thread Geert Mak
You do not want to have Reuters as a "writer" with logo instead of a photo? On 24.11.2011, at 22:55, muad shibani wrote: > i wanna to create one table that contains both news and articles posts, > they have similar columns like id, title, content, and date but they are > differ in one column = t

Re: [PHP] Consistent Class Renaming (Simple Refactoring)

2011-05-17 Thread Tony Mak
Thanks for your replys. Of course >>PHP 2.7.2<< was a careless mistake, i meant PHP 5.2.7, to underline i'm not able to use those neat namespace features in PHP 5.3. Let me provide you with more details. As already mentioned cron.php should include at least two other php-scripts because she

[PHP] Consistent Class Renaming (Simple Refactoring)

2011-05-16 Thread Tony Mak
Hi there, i have following problem: Assume we have a "cron.php" which is called every hour by a cron job. This cron.php should then be used to execute other php-scripts "script1.php", "script2.php". For a pitty our server has Safe-Mode activated so we arent able to shell_exec / exec those f

[PHP] Consistent Class Renaming (Simple Refactoring)

2011-05-16 Thread Tony Mak
Hi there, i have following problem: Assume we have a "cron.php" which is called every hour by a cron job. This cron.php should then be used to execute other php-scripts "script1.php", "script2.php". For a pitty our server has Safe-Mode activated so we arent able to shell_exec / exec those f

[PHP] RSS Feed using PHP/MySQL errors

2008-08-06 Thread Don Mak
Trying to create an articles rss feed for my site and I keep getting an error that says: = A semi colon character was expected. Line: 7 Character: 60 http://www.chirunning.com/shop/pages.php?pageid=19&id=383 = I've tried every way imaginable to figure out why I am getting this error, fina

RE: [PHP] PHP4 mysqli with mysql 4.1.7?

2004-12-10 Thread Francis Mak
w. However, I am still confused on some issue: 1. Is it possible to set the PHP mysql client to use utf8 as default? In this way, I do not need to modify all of my applications. 2. Why mysqli + 4.1.x is recommended? Francis Mak -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP4 mysqli with mysql 4.1.7?

2004-12-09 Thread Francis Mak
somebody could help me. And I believes there are lots of people having the same upgrade issue. if utf8 + 4.1.7 + mysqli_query is a must instead of 4.1.7 + mysql_query, I am sure that there will be lots of problem come up as most PHP applications are using mysql_query only. THANK YOU VERY MUCH!!! Francis Mak

[PHP] zlib compatibility

2004-05-28 Thread Francis Mak
o tried to use binary read in php(i.e. "rb"), but still got stucked in gzuncompress. just another question, what is the difference between gzuncompress and gzdeflate ?? Thank you very much!! Francis Mak -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Running PHP for different virtual domains on different Apaches

2003-11-21 Thread Philip Mak
Something that I wrote recently that I thought may be of general interest for system administrators running PHP: The web server runs on port 80, with the priviledges of the username "apache". On most webhosts that support PHP, this web server executes the PHP scripts. The PHP scripts would thus al

[PHP] Thank you for Ray Hunter help!

2002-03-04 Thread Raymond Mak
need to do. From: Raymond Mak

[PHP] How to Config PHP to run snmp in php script?

2002-02-20 Thread Raymond Mak
Dear All, I am using RedHat Linux 7.2, PHP4.1 and its buitd-in apache, I had tested that the php run correctly with apache. According to the documentation of www.php.net, As shown below: # XCIII. SNMP functions In order to use the SNMP

Re: [PHP] OnUNload Scripts

2001-10-24 Thread Mak
Yes I agree. Flash has great integration with PHP and that makes it much easier for communication between them, eg. passing around variables. - Original Message - From: "Kodrik" <[EMAIL PROTECTED]> To: "Jason G." <[EMAIL PROTECTED]>; "Martin Towell" <[EMAIL PROTECTED]>; "'Impex Holidays M

Re: [PHP] OnUNload Scripts

2001-10-24 Thread Mak
pe it helps. Mak - Original Message - From: "Jason G." <[EMAIL PROTECTED]> To: "Martin Towell" <[EMAIL PROTECTED]>; "'Impex Holidays Maldives / Hasan'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, October 24, 2001 3:3

Re: [PHP] redirecting the browser

2001-10-23 Thread Mak
Hi, you can use Javascript as follows: document.location.href='somepage.php';"); //continue yr code... ?> Hope it helps. - Mak - Original Message - From: "Ozgur Demirtas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 24,

Re: [PHP] Update Query - Urgent

2001-10-23 Thread Mak
What does the error message say? What sort of error is it? - ycmak - Original Message - From: "Mark Roedel" <[EMAIL PROTECTED]> To: "Srinivasan Ranganathan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, October 23, 2001 9:35 PM Subject: RE: [PHP] Update Query - Urgent > -O

[PHP] Memory usage question

2001-07-12 Thread Philip Mak
My machine is running out of memory (256 MB; upgrading is not an option at this point). Each httpd process is taking up 8 MB of memory (4 MB shared). PHP4 is responsible for about 3.5 MB of that. Is there a way that I can reduce the memory usage of PHP4? Also, is it a good idea to configure a se