PHP remove commas from numeric strings?

In PHP, I have an array of variables that are ALL strings. Some of the values stored are numeric strings with comma...

CodeIgniter “The page you requested was not found.” error??

I'm having a problem with CodeIgniter. I've checked every possible solution on the internet and seems like nothing h...

PHP Undefined index: HTTP_USER_AGENT?

The following code validates the user agent accessing the site however I am getting the error. What do I need to upd...

preg_match_all JS equivalent??

Is there an equivalent of PHP's preg_match_all in Javascript? If not, what would be the best way to get all matches ...

SOAP-ERROR: Parsing WSDL: Couldn't load from - but works on WAMP?

This works fine on my WAMP server, but doesn't work on the linux master server!? try{ $client = new SoapClient(...

The request failed with HTTP status 404: Not Found?

I am trying to call the php soap web service from the .Net Client but I am getting the following error: System.Net....

How to get post author name in WordPress??

In WordPress I need to fetch name of author who created post using author_id. How can I find author_name ? ...

is there any PHP function for open page in new tab?

I have a form with action e.g. register.php I also have a Google group API link - https://groups.google.com/group/...

Search and sort in laravel??

In laravel, I know you can do $users = Post::where('hide', '=', 0)->take(40)->get(); to get all Post-object...

PHP Warning: POST Content-Length of 8978294 bytes exceeds the limit of 8388608 bytes in Unknown on line 0?

I am getting this error when trying to upload an import on WordPress on my XAMPP local dev environment: Warning: PO...

laravel foreach loop in controller?

i have a problem about looping data in controller (laravel 4). my code is like this: $owner = Input::get('owner'); ...

Call PHP function from jQuery??

I have a PHP function on my site which takes a couple of seconds to complete. This holds the whole page up which I d...

How to debug the PayPal debug_id??

We're using PayPal Vault Rest API for our payment features. It was working fine in sandbox, but it started giving us...

Time calculation in php (add 10 hours)??

I get the time: $today = time(); $date = date('h:i:s A', strtotime($today)); if the current time is "1:00:00 am",...