PHP is an open-source server-side scripting language widely used in web development. Use this tag for questions about PHP classes, methods, functions, syntax and use.

learn more… | top users | synonyms (6) | php jobs

0
votes
0answers
6 views

Retrieve multiple data with same name in one table in codeigniter

function search_review($input, $serviceName){ $ipJson = json_encode($input); $this->db->select('*'); $this->db->from('reviews'); ...
0
votes
0answers
3 views

Upload multiple files using CodeIgniter

I am very new to CodeIgniter and I want to create a form with multiple file upload specifically images..I haven't coded anything yet. Can anyone help me please? Thanks in advance! :)
0
votes
0answers
6 views

Trouble entering session variables into mysql

So I'm trying to input some session variables into the database, and I'm successfuly inserting all rows, except the $_SESSION['organisationId']. Some context: A user lands on a url as the one given in ...
0
votes
0answers
4 views

Preg Match a html String to find href values. PHP

I am trying to find every HREF values in a html String and concat the HREF values with the my domain name using PHP the code I am trying is as below $string = 'some example string <a href = ...
0
votes
0answers
11 views

expiration time of cookies

This is the YouTube cookies in my browser f2=8000000&f3=800&f1=50000000&fv=11.1.102 How can I find out Which part of the expiration time. and Is it possible to be an endless cookie ...
0
votes
0answers
7 views

PHP 5.4 and MsSQL on XAMPP

I'm trying to run mssql driver for PHP, but something goes wrong. I managed to get the right drivers for mssql, then added the extensions in php.ini, but PHP is still running "--without-mssql" ...
0
votes
0answers
3 views

For Wordpress's plugin (All-in-One Event Calendar), how do you display the event date in a different format?

I want something like this to show up on the page: Jan 29 Mon 2-9 pm I can't use <?php get_timespan_html(); ?> as it would display something like "July 13, 2013 @ 1:00 pm – 3:00 pm." I also ...
0
votes
0answers
9 views

gethostbyname() Showing wired results while domain validation

This is the code iam using for validating the domain name using gethostbyname(). This is working fine until i use it on localhost. As soon as i upload it on my server,gethostbyname() started ...
0
votes
1answer
9 views

If the PHP file is called from a symlink directory

I need to call a PHP file from a symlink directory. The PHP file can create files in an upper directory, for example it calls "newfiles". Like this: websitedocroot/phpsymlinkdir/myphpfile.php ...
0
votes
4answers
22 views

jQuery Ajax call to not expect any result

Im a little unfamiliar with jQuery/ajax. Ive been using $.post.. to send and receive message and it has greatly improved my site, however. I need a facility to send an ajax cal to the server for ...
0
votes
0answers
12 views

how to post/send multiple form data email

Hello I have the following code, I have a question how i do transfer data to E-mail, through a variety of forms and one handler tranfer E-mail to php? brief.php <!-- ...
-2
votes
1answer
19 views

php I can`t create an input mask

I need to create an input mask using php to insert users in a database. The input mask must be like "U00000+number". Ive been trying to do it but I didnt succeed. Any help please?
0
votes
1answer
13 views

Not getting how rewriting URLs exactly works

I am not able to grab the concept behind rewriting URLs regardless of so many articles on the web about it. Suppose absolute path of the webpage I want to see is www.abc.com/games.php?game=1. I want ...
0
votes
4answers
15 views

Uploading Excel sheet data into SQL database via a website

I am using php to develop my website and I need to be able to browse for and upload an Excel sheet. I then need to store the information in an SQL database. I realise this is an relatively open ...
-1
votes
0answers
20 views

Log in users form website to another website using php?

imagine three roles, Admin, Reseller and User. I'm the Admin and own a service provider website (e.g. provider.dev) The Reseller owns another website on a separate server. (e.g. reseller.dev) I want ...

1 2 3 4 5 27639
15 30 50 per page