tagged [php]

PHP - regex to allow letters and numbers only

PHP - regex to allow letters and numbers only I have tried: but im doing something wrong i guess.

3 Dec at 12:42

Getting data posted in between two dates

Getting data posted in between two dates How can I retrieve data from the database by querying records between two dates using CodeIgniter's activerecord?

28 Jun at 11:58

Convert from MySQL datetime to another format with PHP

Convert from MySQL datetime to another format with PHP I have a `datetime` column in MySQL. How can I convert it to the display as using PHP?

5 Jan at 12:53

PHP support for Google App Engine?

PHP support for Google App Engine? Does anyone have any idea as to when the [Google App](http://code.google.com/appengine/) engine will support PHP?

11 Feb at 20:26

How to quickly retrieve tags in array from string?

How to quickly retrieve tags in array from string? I need to place the data into an array (). What is a (stripping html, special chars)?

21 Jul at 23:8

Is header('Content-Type:text/plain'); necessary at all?

Is header('Content-Type:text/plain'); necessary at all? I didn't see any difference with or without this head information yet.

Lightbox in Wordpress

Lightbox in Wordpress I want to have lightbox gallery in my Wordpress site.. How do i do that, because with simple examples it doedn't work. Thanks

1 Jul at 21:31

Convert seconds to Hour:Minute:Second

Convert seconds to Hour:Minute:Second I need to convert seconds to "Hour:Minute:Second". For example: "685" converted to "00:11:25" How can I achieve this?

31 Oct at 14:54

How do I remove quotes from a string?

How do I remove quotes from a string? How to remove all types of quotes (different languages) from `$string`?

16 Apr at 15:20

Force SSL/https using .htaccess and mod_rewrite

Force SSL/https using .htaccess and mod_rewrite How can I force to SSL/https using .htaccess and mod_rewrite page specific in PHP.

17 May at 15:18

Increasing the maximum post size

Increasing the maximum post size There is a lot of data being submitted no file uploads and the `$_SERVER['CONTENT_LENGTH']` is being exceeded. Can this be increased?

5 Feb at 18:58

How to call codeigniter controller function from view

How to call codeigniter controller function from view How to call codeigniter controller function from view? When i call the function in a controller, get a 404 page.

3 Apr at 03:32

Refresh a page using PHP

Refresh a page using PHP How can I refresh a page using PHP periodically? If I can not do it by PHP, what is the best recommended scenario?

16 Jul at 04:36

How to force composer to reinstall a library?

How to force composer to reinstall a library? I'm using the ZF2 skeleton app and it has a .gitignore that prevents external libraries from being commited to git. While debugging I like to go and chang...

Fatal error: Class 'Illuminate\Foundation\Application' not found

Fatal error: Class 'Illuminate\Foundation\Application' not found I am getting following error when I open my site which is made using laravel 5 > Fatal error: Class 'Illuminate\Foundation\Application'...

PHP Date Time Current Time Add Minutes

PHP Date Time Current Time Add Minutes Simple question but this is killing my time. Any simple solution to add 30 minutes to current time in php with GMT+8?

12 Jun at 09:27

How to get URL of current page in PHP

How to get URL of current page in PHP In PHP, how can I get the URL of the current page? Preferably just the parts after `http://domain.example`.

21 Jun at 15:49

Print PHP Call Stack

Print PHP Call Stack I'm looking for a way to print the call stack in PHP. Bonus points if the function flushes the IO buffer.

14 Sep at 18:22

Getting Hour and Minute in PHP

Getting Hour and Minute in PHP I need to get the current time, in Hour:Min format can any one help me in this.

Remove warning messages in PHP

Remove warning messages in PHP I have some PHP code. When I run it, a warning message appears. How can I remove/suppress/ignore these warning messages?

5 Feb at 16:3

Running php script (php function) in linux bash

Running php script (php function) in linux bash How we run php script using Linux bash? php file `test.php` `test.php` contains:

1 Aug at 19:45

Get characters after last / in url

Get characters after last / in url I want to get the characters after the last / in an url like `http://www.vimeo.com/1234567` How do I do with php?

6 May at 07:21

Page changed in JQUERY

Page changed in JQUERY I am trying to found out how to see if a php file has changed and then show a div with saying Page changed in JQUERY

21 Dec at 20:12

MySQL query to get column names?

MySQL query to get column names? I'd like to get all of a mysql table's col names into an array in php? Is there a query for this?

12 Nov at 13:42

Generate random 5 characters string

Generate random 5 characters string I want to create exact 5 random characters string with least possibility of getting duplicated. What would be the best way to do it? Thanks.

25 Mar at 22:28