Capture certain parameters of URL in PHP
I have the following code: [Code Block] I need a $regex that, applied to $url, returns in $result the same URL but only ...
Latest news, tutorials, and updates from the PHP community
7044 articles available
I have the following code: [Code Block] I need a $regex that, applied to $url, returns in $result the same URL but only ...
How can I use a regular expression to parse XML? Let's suppose we have the following: [Code Block] If I run that, then $...
I have a Windows 7 laptop. I downloaded PHP 5.2.8. I downloaded Apache 2.2. I ran the MSI for PHP install, which i know ...
Can we define a Layout for whole controller in that particular controller?I have used before filter of the appcontroller...
For starters, the Codeigniter documentation on update_batch does not exist. kenjis was kind enough to provide some docum...
Some developers uses curly braces in their PHP code and some simply concatenates them. For example, these 2 lines of cod...
I’ve got an issue with the front end of a magento site, it is throwing a 500 error. The back end admin is absolutely fin...
What I am trying to do is create a site that displays my rants in faux letter form. I want the "paper size" (div size) t...
I have a search box for each status of an item! When I search, is this the right way to do it? [Code Block] When no sear...
I'm using the following code to add `http://` to the URL. [Code Block] but how can I check whether the original URL cont...
I am just trying to run a PHP script using a cron job within CPanel - is this the correct syntax: [Code Block] I am not ...
I'm having trouble splitting this string into an array in the pattern I need it to be. The string is: [Code Block] I ess...
Showing 6361 to 6372 of 7044 articles