A few folks had asked me to recommend a site to practice for PHP CodeIgniter and Laravel frameworks. Here it is:
http://phillipnb.wordpress.com/2012/12/ ... questions/
http://phillipnb.wordpress.com/2014/03/ ... questions/
Search found 1803 matches
- Sat Mar 29, 2014 12:48 am
- Forum: News and Announcements
- Topic: PHP Frameworks - Interview Questions
- Replies: 0
- Views: 4212
- Mon Oct 28, 2013 12:37 am
- Forum: PHP General
- Topic: database value to post
- Replies: 1
- Views: 1470
Re: database value to post
make sure you have the right query....make sure the query is picking the data that you want and then debug to see why $_POST is behaving in an odd manner.
- Mon Oct 28, 2013 12:34 am
- Forum: PHP coding => General
- Topic: Calendar
- Replies: 2
- Views: 1716
Re: Calendar
this is happening due to the way you have coded. Take a look at your code again and make sure all <td>s are affected.
- Mon Oct 28, 2013 12:29 am
- Forum: PHP coding => General
- Topic: $_PHP_SELF
- Replies: 2
- Views: 4113
Re: $_PHP_SELF
I don't understand what you meant by $_PHP_SELF. I think it has to be
action="<?php echo $_SERVER['PHP_SELF']; ?>"
Please read about Server and execution environment information from the php manual.
action="<?php echo $_SERVER['PHP_SELF']; ?>"
Please read about Server and execution environment information from the php manual.
- Mon Oct 28, 2013 12:21 am
- Forum: PHP coding => General
- Topic: cron jobs
- Replies: 2
- Views: 1900
Re: cron jobs
not working from where...???
schedule another cron job (as a test) and see if it works. If it works, compare these two and figure out what you are doing wrong.
schedule another cron job (as a test) and see if it works. If it works, compare these two and figure out what you are doing wrong.
- Mon Oct 28, 2013 12:18 am
- Forum: PHP coding => General
- Topic: Insert record in PHP
- Replies: 23
- Views: 7556
Re: Insert record in PHP
print the emp_name and dob to see if it has a value.
- Tue Oct 22, 2013 5:21 am
- Forum: PHP coding => General
- Topic: how to download data from one website?
- Replies: 0
- Views: 1381
Re: how to download data from one website?
Please read about php curl. Take a look at this example:
http://phillipnb.wordpress.com/2011/04/ ... es-part-2/
http://phillipnb.wordpress.com/2011/04/ ... es-part-2/
- Tue Oct 22, 2013 5:19 am
- Forum: PHP General
- Topic: Ports needed for LDAP connection
- Replies: 1
- Views: 2130
Re: Ports needed for LDAP connection
when you use port 1337, what does ldap_connect() return? Please write appropriate error trapping functions to see what the error is.
- Tue Oct 22, 2013 5:16 am
- Forum: PHP coding => Mail
- Topic: PHPMailer slow on sending emails
- Replies: 4
- Views: 10618
Re: PHPMailer slow on sending emails
check your send mail settings in php.ini
- Thu Oct 17, 2013 10:11 pm
- Forum: mySQL & php coding
- Topic: Drop-down list using mysql when query not found
- Replies: 0
- Views: 1617
Re: Drop-down list using mysql when query not found
you have to do appropriate conditional branching if a record is not found.
- Thu Oct 17, 2013 10:09 pm
- Forum: PHP & MySQL Security
- Topic: do I need real_escape_string for parametrized queries ?
- Replies: 1
- Views: 4294
Re: do I need real_escape_string for parametrized queries ?
All input are evil, you should not trust any input.
You cannot EXPECT somebody else to do the sanitation, validation, error checking etc for you. You need to do all these on your side.
You cannot EXPECT somebody else to do the sanitation, validation, error checking etc for you. You need to do all these on your side.
- Thu Oct 17, 2013 10:02 pm
- Forum: PHP General
- Topic: Ports needed for LDAP connection
- Replies: 1
- Views: 2130
Re: Ports needed for LDAP connection
make sure no other application is using 1337
- Sat Oct 12, 2013 12:38 am
- Forum: PHP coding => General
- Topic: CURL_EXEC - Allowed Memory Size of Bytes Exhausted
- Replies: 1
- Views: 1855
Re: CURL_EXEC - Allowed Memory Size of Bytes Exhausted
One way - increase it using ini_set("memory_limit","30M");
Are you using a shared server? if "yes", then you need to change/add the entry in your .htaccess file.
Are you using a shared server? if "yes", then you need to change/add the entry in your .htaccess file.
- Sat Oct 12, 2013 12:31 am
- Forum: PHP coding => General
- Topic: socket_recv() failed; reason: Success
- Replies: 0
- Views: 1317
Re: socket_recv() failed; reason: Success
try to print the error using socket_strerror(socket_last_error())
- Fri Oct 11, 2013 11:45 pm
- Forum: PHP coding => General
- Topic: ideas of sending emails reminding users of some stuff
- Replies: 4
- Views: 2669
Re: ideas of sending emails reminding users of some stuff
Once a user is registered he/she has to be in a database or file. I don't understand what you meant by "...get the data right from the website..."....like I get the data right from the website via input (hidden) and store it directly into an array....
- Fri Oct 11, 2013 11:42 pm
- Forum: PHP coding => Mail
- Topic: PHPMailer slow on sending emails
- Replies: 4
- Views: 10618
Re: PHPMailer slow on sending emails
1).Check if you have any other software that is intefering with the mailer 2).You need to debug line by line to make sure where exactly the problem is? 3).Does your Apache version match with the version of php mailer...please check? 4).Is there any other software running on your server which is shar...
- Fri Oct 11, 2013 11:24 pm
- Forum: PHP coding => General
- Topic: disable combobox when radio button is selected
- Replies: 0
- Views: 1393
Re: disable combobox when radio button is selected
use the show and hide feature of the jquery
- Mon Oct 07, 2013 10:38 pm
- Forum: PHP coding => General
- Topic: ideas of sending emails reminding users of some stuff
- Replies: 4
- Views: 2669
Re: ideas of sending emails reminding users of some stuff
for your code to remmeber these sort of things, you should either have a database/table or a file.
- Mon Oct 07, 2013 10:37 pm
- Forum: PHP General
- Topic: How to run php file in task scheduler ?
- Replies: 0
- Views: 1874
Re: How to run php file in task scheduler ?
how do you know that the program ran successfully?
- Mon Oct 07, 2013 10:35 pm
- Forum: PHP General
- Topic: Simple Problem
- Replies: 0
- Views: 1265
Re: Simple Problem
pick the redeemed item and show it on his/her page
- Fri Oct 04, 2013 8:36 pm
- Forum: PHP coding => General
- Topic: Recordset looping problem
- Replies: 2
- Views: 2062
Re: Recordset looping problem
please print $index to see how many records it is picking up.
- Fri Oct 04, 2013 8:35 pm
- Forum: PHP coding => General
- Topic: $arr[]=$data doesnt add the $data
- Replies: 4
- Views: 2431
Re: $arr[]=$data doesnt add the $data
1). what function is this yecho ?
2).please post the full code.
2).please post the full code.
- Fri Oct 04, 2013 12:46 am
- Forum: PHP coding => General
- Topic: $arr[]=$data doesnt add the $data
- Replies: 4
- Views: 2431
Re: $arr[]=$data doesnt add the $data
you can do two things:
1). Initialize the array outside the while loop using $result = array()
2).Inside the while loop, please print what you storing..e.g. print_r($rows);
1). Initialize the array outside the while loop using $result = array()
2).Inside the while loop, please print what you storing..e.g. print_r($rows);
- Wed Oct 02, 2013 6:33 am
- Forum: mySQL & php coding
- Topic: Getting erros when posting data to MYSQL database via PHP
- Replies: 0
- Views: 1494
Re: Getting erros when posting data to MYSQL database via PH
1).make sure $queryResult is returning the right result
2).remove the "@" symbol so that the code can throw errors
2).remove the "@" symbol so that the code can throw errors
- Wed Oct 02, 2013 6:27 am
- Forum: PHP Installation
- Topic: PHP 5.5.4 compatibility with CentOS 6.4
- Replies: 0
- Views: 1963
Re: PHP 5.5.4 compatibility with CentOS 6.4
Yes, it is asking for glibc 2.14