Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF PHP


PHP-General - Can I display a field of other website on my website  

Hi any specialist can help pleaseI want to capture a field on another website to display on my website.can PHP possible to do this?thanksWayne Continue Reading
Views : 66
Tuesday 28th of August 2012

Page 2 - Array Key Checking  

Yeah, I bet these columns are varchar. Ignore arugula. If he's not actively trolling he's just incapable of helping Continue Reading
Views : 72
Tuesday 28th of August 2012

Array Key Checking  

I have created an an array and I want to check whether it is existing while looping.I have tried it, but not working..Please help me to identify the problem.for($i=$mindate[0];$i Continue Reading
Views : 63
Tuesday 28th of August 2012

PHP-Security - Including files differs from shell to apache  

I have a simple test file that attempts to include two files. From the shell (running as apache user) it works fine but from the apache server the second file cannot be opened. I'm running this on a CentOS server. The httpd server complains of permissions problem on just the second file.... Continue Reading
Views : 110
Tuesday 28th of August 2012

New to php and i need to modify this code please  

hi, i spent the past two years learning HTML and Photoshop web designing and now i need to take the big step to learn php..anyway i found this code which would help a lot in making my portfolio if i made this little modification..** this code have a Gophotoit link to... Continue Reading
Views : 72
Tuesday 28th of August 2012

PHP5 - Parse error: syntax error, unexpected $end  

Hello:I'm receiving the following error when running my script.Parse error: syntax error, unexpected $end in /home/content/13/7849013/html/photography/photos/preupload.php on line 69I have removed all whitespace at the end of each line of code.I... Continue Reading
Views : 80
Tuesday 28th of August 2012

PHP-General - Warning: trim()  

I am new to Php and have this create challenge with a script i am trying to Install and configure.The experience have been quite frustration as i keep getting this erro warning message after setting the the database with myphpadmin. This is the what i have been... Continue Reading
Views : 64
Tuesday 28th of August 2012

PHP-General - Php email script - help pls  

Hi ? anyone care to help me write a script for sending emails from ?Contact Submission Form? of a website ?The content of the script should include the following :Use SMTP Server for E-mail: YesSMTP Server Address: ssl://smtp.gmail.comSMTP Server Port:... Continue Reading
Views : 57
Tuesday 28th of August 2012

Help Needed! PHP Based Step-by-Step Process Form  

Hello, I am fairly new to PHP though I have worked with it for a couple months now. I am working on a new project and I have the design concept (HTML and CSS) all complete. However, I am currently clueless on how to approach it PHP-wise. Continue Reading
Views : 85
Tuesday 28th of August 2012

Page 2 - Can some one correct me that login script  

But + points for using mysqli and prepared statements! Continue Reading
Views : 63
Tuesday 28th of August 2012

Can some one correct me that login script  

PHP Code: Continue Reading
Views : 62
Tuesday 28th of August 2012

PHP5 - Looking for simple OWA automailer function  

Hello all , first of all i want to say that im no developer of php, im just working as a sysadm here at my company . I want to help the developers get a good automailer function going for an online form that our customers will use to access a download site . Since the webserver... Continue Reading
Views : 95
Tuesday 28th of August 2012

Need Help optimizing regex  

Hello,I am writing a sort of glossary script, you know the kind linking words from a list and giving a popup with an explanation.the important part is the regex that parses the keywords in the text. Example ( just using bold tags to show the parsed output): Continue Reading
Views : 73
Tuesday 28th of August 2012

Dynamic insert into table (mysqli_fetch_field)  

Hello.I'm trying to make an simple dynamic script that will insert values into a table. I want to make it so it's not dependant on spesific column names, so it will break if I update/change the column names in eg phpmyadmin.In other words the script should... Continue Reading
Views : 74
Tuesday 28th of August 2012

PHP Site - VPS - Which Option Should I Choose  

Hi, i have just bought my first VPS. I will only be running the one site from within this. I have logged into my hosting account and it is asking me which VPS OS i want to install on my virtual machine. I have 137 options to choose from.I am also currently paying a monthly... Continue Reading
Views : 73
Tuesday 28th of August 2012

Making some site/app to find "easy" professors [was spammy]  

I would like to ask someone to make a program that finds the easiest professors (as in 4-5 stars for "easiness) in the website ratemyprofessors.com in any given field of study that you specify.I don't know hardly anything about programming. If I started learning... Continue Reading
Views : 65
Tuesday 28th of August 2012

Copying DateTime  

I've never messed around with DateTime til now.First question, anybody use it and like it?Second is more of an OOP question. When I copy $date to final_date, I am just pointing a reference, and not making a new copy, right? How would I create a new copy? Continue Reading
Views : 60
Tuesday 28th of August 2012

PHP-General - Emailing a list of commenters from mysql db, no duplicates  

I am trying to come up with a way to send a notification email to people associated with a story that was posted. The people to be emailed are:-the owner of the post (unless the current commenter is the owner) -everyone else who has ever commented on the post Continue Reading
Views : 76
Tuesday 28th of August 2012

Page 3 - Max Attempts  

Okay I worked on it and this is what I think I should have but not sure how I should deal with the new logins exceed function. Continue Reading
Views : 68
Tuesday 28th of August 2012

Page 2 - Max Attempts  

Would I even need the LIMIT 5 since there will never be more than 5 for a username or ip_address in that table at a time. Continue Reading
Views : 59
Tuesday 28th of August 2012

Max Attempts  

What I want to do is return a message when the 5th failed login is submitted. As of right now with the following code the user attempts to log in, and if the credentials fail then since it'll be on the 5th failed login my message won't show until after the next one attempt because of where... Continue Reading
Views : 83
Tuesday 28th of August 2012

Object ate my table  

I am sorry for the cryptic subject line, but I do not know how to describe what I am witnessing. The below script turns all the 's and 's to and . If I assign $h and use it, it doesn't happen. What is going on? Thank you Continue Reading
Views : 60
Tuesday 28th of August 2012

Help me with calendar script  

I have a (fully working) calendar script I made and I am wondering if there is a more efficient way of doing it PHP Code: Continue Reading
Views : 63
Tuesday 28th of August 2012

Help me with calendar script  

I have a (fully working) calendar script I made and I am wondering if there is a more efficient way of doing it PHP Code: Continue Reading
Views : 78
Tuesday 28th of August 2012

Figuring out session variables Having a problem  

Hi Everyone,I'm a little confused by sessions.This is my goal. In the below URL If someone clicks on "contact us" and they aren't logged in I want that user to be re-directed to a login page. I know I can do this with php sessions but I'm a confused as to how. Does... Continue Reading
Views : 59
Tuesday 28th of August 2012

Figuring out session variables Having a problem  

Hi Everyone,I'm a little confused by sessions.This is my goal. In the below URL If someone clicks on "contact us" and they aren't logged in I want that user to be re-directed to a login page. I know I can do this with php sessions but I'm a confused as to how. Does... Continue Reading
Views : 56
Tuesday 28th of August 2012

PHP-General - How to send mail from a PHP file   

Hello All,I want to use the mail function from PHP. Which will send mail to the given id with given body message.Right now I am trying with mail() function provided by PHP it's not giving me any error but the mail not going to given id. Also I have tried with another... Continue Reading
Views : 90
Tuesday 28th of August 2012

PHP-General - How to send mail from a PHP file   

Hello All,I want to use the mail function from PHP. Which will send mail to the given id with given body message.Right now I am trying with mail() function provided by PHP it's not giving me any error but the mail not going to given id. Also I have tried with another... Continue Reading
Views : 112
Tuesday 28th of August 2012

PHP5 - PHP Framework  

Our site was developed over 4 years ago using PHP without any framework. We are scheduled for an entire site overhaul and we're considering several PHP frameworks such as: Kohana, Yii, CakePHP, Zend, Symfony, CodeIgniter. Feedback from members on their experiences using the... Continue Reading
Views : 83
Tuesday 28th of August 2012

PHP5 - PHP Framework  

Our site was developed over 4 years ago using PHP without any framework. We are scheduled for an entire site overhaul and we're considering several PHP frameworks such as: Kohana, Yii, CakePHP, Zend, Symfony, CodeIgniter. Feedback from members on their experiences using the... Continue Reading
Views : 71
Tuesday 28th of August 2012