[PHP] [missing] images .htaccess

2012-05-21 Thread muad shibani
Hi there how I can ignore [missing] images and other files completely in .htaccess from being processed by the index.php file RewriteRule .* index.php [L] the CMS itself gives 404 error page for unknown request thanks in advance

Re: [PHP] count clicks to count most important news

2012-01-01 Thread muad shibani
All the answers are great but Stuart Dallas' answer is what I was asking about .. thank u all I really appreciate it a lot On Sun, Jan 1, 2012 at 11:10 PM, Stuart Dallas wrote: > On 1 Jan 2012, at 16:26, muad shibani wrote: > > > I have a website that posts the most important

[PHP] count clicks to count most important news

2012-01-01 Thread muad shibani
I have a website that posts the most important news according to the number of clicks to that news the question is : what is the best way to prevent multiple clicks from the same visitor?

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

2011-11-27 Thread muad shibani
time, published (1 or 0) > node_article: node_id, writer name, writer picture url > node_news: node_id, url to reuters or whatever > > And you can still select on whatever you need. With a LEFT JOIN, you can > even get back all data on all articles of both types, and just have lost of > nulls in the result set for the off-record fields. > > --Larry Garfield > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- *___* * * السجل .. كل الأخبار من كل مكان www.alsjl.com صفحة السجل على فيسبوك http://www.facebook.com/alsjl *Muad Shibani* * * Aden Yemen Mobile: 00967 733045678 www.muadshibani.com

Re: [PHP] Is there a decent design app ?

2011-11-25 Thread muad shibani
gt; > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- *___* * * السجل .. كل الأخبار من كل مكان www.alsjl.com صفحة السجل على فيسبوك http://www.facebook.com/alsjl *Muad Shibani* * * Aden Yemen Mobile: 00967 733045678 www.muadshibani.com

[PHP] news and article posts in one table

2011-11-24 Thread muad shibani
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 = the source of news or article post article has writers that have permanent names and pictures obtained from another table called w

Re: [PHP] Frivolous Friday Fun!

2011-11-11 Thread muad shibani
ttp://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- *___* * * السجل .. كل الأخبار من كل مكان www.alsjl.com صفحة السجل على فيسبوك http://www.facebook.com/alsjl *Muad Shibani* * * Aden Yemen Mobile: 00967 733045678 www.muadshibani.com

[PHP] Curl cost

2011-09-28 Thread muad shibani
what are the costs of using PHP Curl to show another websites on my site as stumbleon do .. traffic, memory or what?

Re: [PHP] PHP redirect

2011-09-24 Thread muad shibani
it works very well .. thanks a lot for you dajkta you saved my day .. thanks a lot On Sat, Sep 24, 2011 at 3:45 AM, Dajka Tamas wrote: > Try header(”Location: ”.html_entity_decode($data[’feed_link’])); > > ** ** > > *From:* muad shibani [mailto:muad.shib...@gmail.com] >

Re: [PHP] PHP redirect

2011-09-24 Thread muad shibani
; BTW, what's the problem? It's not redirecting you, or just redirecting you > to az unavailable/wrong page? ( most browsers change the & in titlebar > to '&', so you don't have to worry about that ) > > -Original Message- > From: muad shibani [mai

[PHP] PHP redirect

2011-09-24 Thread muad shibani
when I try to go to a URL by using PHP header function so if the URL contains & it converts it to & so the needed page will not display correctly I tried to use: $url = urldecode($data['feed_link']); header ( "Location: $url" ); but I can't get it

Re: [PHP] Querying a database for 50 users' information: 50 queries or a WHERE array?

2011-09-13 Thread muad shibani
Yes there is but all the IDs in one string like this $ids = $id1.', '.$id2.', ' ; note : remove the last comma from the string the make the query like this: mysql_query("SELECT * FROM table WHERE userID= in($ids ) } On Tue, Sep 13, 2011 at 7:24 AM, Dotan Cohen wrote: > I have a MySQL database t

Re: [PHP] PHP cron job optimization

2011-09-10 Thread MUAD SHIBANI
As was stated fetching an rss feed is fast and cheap, so I would > contrariwise think about paralleling if I would you. > > -- * ___ Muad Shibani* * * Aden Yemen Mobile: 00967 733045678 Mobile: 00967 711811232 www.muadshibani.com

[PHP] PHP cron job optimization

2011-09-10 Thread muad shibani
I want to design an application that reads news from RSS sources. I have about 1000 RSS feed to collect from. I also will use Cron jobs every 15 minutes to collect the data. the question is: Is there a clever way to collect all those feed items without exhausting the server any Ideas Thank you in