as salam. i pray all of u are healthy. insyaallah. ameen🙂

how to make php not die when class_exists tries to load a nonexistent class?

+PHP Developers said spl_autoload_register with something like:
function autoloader($class)
{
$file = “/make/the/path/from/”.$class.”.php”;
if(file_exists($file))
{
require_once($file);
}
}
:) #thankyoufortip

 

wassalam🙂

About fzfain88

islam. moderate. programmer. did all because allah. :)

22 responses »

  1. Hello just wanted to give you a quick heads up. The text in your content seem to be running off the screen in Ie. I’m not sure if this is a formatting issue or something to do with internet browser compatibility but I thought I’d post to let you know. The design and style look great though! Hope you get the problem fixed soon. Kudos

    • fzfain88 says:

      yes, i knew that. that’s the internet browser compatibility with this wordpress format. well, u can view my blog thru the chrome browser. alhamdulillah more than good. anyway tq for informing me rutina para aumentar masa muscular. enjoy this blog.🙂

  2. learn php says:

    Thanks for the good writeup. It in truth was a enjoyment account it. Look complex to far delivered agreeable from you! By the way, how can we keep up a correspondence?

  3. Edwardo Kazi says:

    Wow, that’s what I was looking for, what a information! existing here at this blog, thanks admin of this web page.

  4. Hurrah! After all I got a weblog from where I know how to really take valuable facts regarding my study and knowledge.

  5. click here says:

    Very excellent info can be found on this web site.

  6. shshs says:

    This blog has inspired me to start focusing on my own blog

  7. serotonin says:

    Hi, i feel that i noticed you visited my web site thus i got here to “go back the favor”.I’m attempting to to find issues to enhance my web site!I suppose its good enough to make use of some of your ideas!!

    • fzfain88 says:

      hi. my ideas are u should write a useful posts, correct info & just write it all with sincerely. insyaallah your blog will be nice. hope my ideas can help u a little. tq serotonin for coming here.🙂

  8. vitamin d says:

    Very interesting information!Perfect just what I was looking for!

    • fzfain88 says:

      alhamdulillah. nice to hear about it. not perfect. u can practise it on your self. who knows, maybe much more interesting than this. heheee. tq for visiting here vitamin d🙂

  9. Hello, I desire to subscribe for this blog to take most recent updates, thus where can i do it please help out.

    • fzfain88 says:

      hello. i don’t have any ideas how to do it. but u can just copy my blog’s url & then paste it in your google reader at subcribers textbox. then all the updates from my blog, will be notify u at the google reader. tq russell bishoff & enjoy here.🙂

  10. Bob Vandyke says:

    What’s up, just wanted to tell you, I loved this article. It was helpful. Keep on posting!

  11. Ross Kuker says:

    Keep functioning ,terrific job!

  12. Somebody necessarily help to make critically articles I’d state. That is the first time I frequented your web page and up to now? I amazed with the research you made to create this actual post incredible. Excellent activity!

As salam. Hi. Leave a Comment?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s