39,320 Topics
| |
We want to develop a website similar to http://shoesofprey.com/ functionalities for Interior Decor Objects using PHP Language. We want to use a custom script (without any flash functionality) for this purpose so that user can customize the product by changing the color, type and attribute and can also see 360 … | |
Hey everyone, No errors here but I was wondering..is there an easy way to simply "add" an administrator in a log-in script to redirect to a certain area of a website that the administrator can only access? Any advice would be greatly appreciated :) | |
hello! i have a function in my C# code that returns a string array. and when i test my function in WCF Test Client i get Name Value Type (return) length=4 System.String[] [0] "DE" System.String [1] "DK" System.String [2] "NO" System.String [3] "SE" System.String **code if i do var_dump on … | |
i have three db tables products product_id- Name 1 | hairoil 2 | lotion 3 | cream Countries country_id- Name 1 | UAE 2 | France 3 | UK Now i wanna that when select multiple countries for one product from Html form, then in third db table should insert … | |
Hey everyone, Been working on a php snippet which finds the names of all the files in a Directory and populates them into a drop down box. Which would then allow me to select that file, click a submit button and delete them. Here is what I have SO <?php … | |
Hi, just started to learn php so fairly new to the concepts. Need some help making a sticky select form from an array. This is what i have so far: print '<label>Select your favourite colours:'; print '</label>'; print '<select name="colour" multiple="multiple">'; $colours= array('R'=>'Red','O'=>'Orange','Y'=>'Yellow','G'=>'Green','B'=>'Blue','P'=>'Purple','Pi'=>'Pink'); foreach($colours as $colour => $cname){ if($csel === … | |
hello guys how are you today i am not good with function so i want to ask a question how can i do that by function i have tried but i am Failure also how can i protect the input by this way by using mysql_real_esacpe,strip_tags .... $getidtopic=$_GET['id_topic']; function isint … | |
guys, i developed Students alumni project,in php + mysql where students registers and check their online status and view his academic records, i completed evaluated my project on local host, WAMP(apache), and my project worked fine, all db connection, data access everthing is fine on local host but on Online … | |
hi guys having some problems and for the life of me cant work it out how can i get all users that have a registerd date of 3, 6, 12 months which i think i can make as an array and get the users that have been registerd at these … | |
hi all, please kindly give me advice and help me on my project this is just a piece of it. thanks and God Bless. i got this database error **A PHP Error was encountered Severity: Notice Message: Undefined index: username Filename: controllers/login.php Line Number: 20 A PHP Error was encountered … | |
Hi, i made an HTML contact form with the following fields name, email and message and i want to send it to my gmail address with SMTP authentication. Please can anyone guide me with a step by step process? i am new to PHP. i found the script for SMTP … | |
Hello Admin and other PHP experts..!! small question, how to send email to the email IDs, that are listed in a database, i want to sent it as "noreply(at)mydomian(dot)com" and the receipents should be in BCc. And the mail i send is a HTML Advertisement of my service. help me … | |
Hi everyone :) i am doing my final year project in PHP and MYSQL and i am just at beginner level of php.i found this forum really helpful. in my teacher module i allowed the teacher to upload video, audio, mp3 and image files and here is my code... i … | |
Hello, I am stuck with tryting to upgrade PEAR fri 1.7.2 to newest version. I want to install PHP unit and it does not like 1.7.2 version of pear. I managed to get till there: C:\Users\Darius>pear upgrade pear WARNING: channel "pear.php.net" has updated its protocols, use "channel-update p ear.php.net" to … | |
<html> <head> <basefont face="Arial"> </head> <style> body { background-color: #E6E6FA; } </style> <body> <?php error_reporting(E_ALL); if (!isset($_POST['Submit'])) { // form not submitted ?> <H3>Search Records Application</H3> <form action="search.php" method="post"> Search <input type="text" name="search"> <select size="1" name="dropdown"> <option value="" selected>Search By...</option> <option value="BookID">Book Id</option> <option value="transactiondate">Transaction Date</option> <option value="storename">Store Name</option> <option … | |
I have three scripts running under crontab and theyre executing perfectly (see the log below): Oct 9 10:40:01 servercharlie CRON[29850]: (root) CMD (php -q /var/www/folder/script-3.php) Oct 9 10:41:01 servercharlie CRON[29861]: (root) CMD (php -q /var/www/tasks/script-1.php) Oct 9 10:42:01 servercharlie CRON[29867]: (root) CMD (php -q /var/www/tasks/script-1.php) Oct 9 10:43:01 servercharlie CRON[29873]: … | |
Hello, so im trying to send an metod that takes a class as input parameter with a bunch of variables. I want to write in some textboxes in my php side of the program send them with my class and into a database. but the database part is no problem … | |
i want to create a login page for admin anduser.suppose admin is login access to all pages.But user is login only display for user details page.so any idea give me.i want to related script | |
Hello, I have a problem in my codes. Obviously, I'm beginning to program in PHP and know nothing about its advanced concepts. So I'm asking of your help. I'd like to add 2 months to the end date the user input. I tried this code below: public function inputEndDate() { … | |
I have something like this <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="xxxx"; // Database name $tbl_name="xxxxxx"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); // username and password sent from form $username=$_POST['username']; … | |
I am getting this error "Fatal error: Call to undefined function mysql_connect() in /var/www/html/test1.php on line 8" for the following code: <?php $host = "localhost"; $user = "user12"; $pass = "34klq*"; ini_set ('display_errors', 1); $r = mysql_connect($host, $user, $pass); if (!$r) { echo "Could not connect to server\n"; trigger_error(mysql_error(), E_USER_ERROR); … | |
when i search something in the database it doesn't show me what is in the databese how to connect into it or it doesnt show what is in it???? | |
I cant for the life of me understand why I get this error: Undefined index: wages in F:\EasyPHP-5.3.2i\www\PaycheckCalc.php on line 13 line 13 is: $wages=$_POST['wages']; I also get this for the following line. this is the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Paycheck Calculator</title> … | |
Hey guys, I'm a noob in javascript and want to know what I'm doing wrong. What I'm trying to do basically is hava a select menu determine where my strings are to be stored. Here is what I'm doing: The code: <form id="form1" name="form1" method="post" action="push.php"> <select name="ga" id="ga" onchange="gameApp(this);"> … | |
Hey guys, i'm dng a website with geographic location, i want to track user's city or country with PHP, is it possible ? please help me guys. Thanks in advanse | |
Hello, i use geoIP to find location of visitors but seems like theyr database dont support all Citys/Regions well, im looking for a free-good ip to country provider, This is my website: http://dotest.webege.com/ Now i add geoIP script , so many IP's just are setet in NULL | |
Does anyone have any suggestions on a stat map? Wordpress has -[http://en.wordpress.com/stats/](http://en.wordpress.com/stats/) But I would like to display live people.. Any suggestions or ideas to point me in a direction? | |
Hi, I'm having a problem with what seems to be conflicting URL rewrite rules. Basically the first and second rule work individually but when i add both together the second rewrite rule no longer works. RewriteEngine On RewriteBase / RewriteCond $1 !\.(gif|jpe?g|png)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule … | |
This is sort of a long drawn out question, but I felt it needed some explanation as I don't really know which parts of the code would be helpful to evaluate... or if it is just the browser itself. I have an event registration script that I'm running into an … | |
Hello, This is about a PHP PDF utility called "FPDF." Can anyone tell me if it is possible to change the margins on the second page of a PDF using the library. I set the margins on the first page, but because the first page has a letterhead, it starts … |
The End.