39,320 Topics
| |
As it exists now, I have some PHP code set up so a customer can "login" with his/her customer number (job number). But I want to give them the option to use either their number or their email address. I understand the code for 1 option (job number), but am … | |
Hey, im having a problem getting this email check to work it basicly prints out in a very origional way how manny eails you have... [COLOR="Green"][B]Check Inbox [/B]([I]3[/I]) [/COLOR] Heres the code: [CODE]$find_content = "SELECT * FROM email WHERE email_too_id = '$userid' OR all = 'true'"; $content_sql = mysql_query($find_content) or … | |
Hello, I am trying to get my own(paid) website. But I am not sure about what steps I should take. I understand that signing up with a hosting company will get me storage and scripting functionalities. But I don't understand the process of getting a domain name of my choice. … | |
I have several issues going on I have played with the code, and I have tried to follow other code snippets / tutorials as examples, but I am unable to achieve the following: 1: when the browser is closed the session is terminated or set a timeout period of inactivity? … | |
Hi, First of all I am Sorry for such a long query. I am using mysql db.I wanted to display data present in the db.I am using two functions showdiv() & hidediv(). For example,I have 26 tables in my db say from A-Z.In each table it has some info.for examp, … | |
Hi, I was wondering if people could help me understand PHP vulnerabilities, before I begin I explain my situation. I'm taking a 3rd year computer security course at university (for fun I have already graduated and got a job). The subject includes secure PHP programing. As an assignment we where … | |
Hi everyone, Can anyone tell me how you can stop users from URL Hacking your website with php (sessions)? So for example if you have a password and username form on the front of your website and only want authorised members to gain access to your web site. So for … | |
Please all I need your assistance to give me a guide line on how to write PHP CODES or give me sample of maybe user name and password only i will appreciate your effort tanx and more blessing. | |
hello!!! could anyone tell me how can i use php with oracle?? i have installed wampserver and oracle 10 (oci10) but it doesn't work, i think they are incompatible (wamp is only for oci8) what other php packet could i get for oracle 10? what is your advice? thanks !! | |
Straight to the point...:) I have problem connect to database. when I click Login button, the code can't read the username in my database. I have checked the codes but i think there are some mistakes, but i don't know where it will be. Please help me. Here with I … | |
Hi All, Using php and MySQL, I completed a login session script and it works great. I am assigning the username and password to select users, and there will be no registration form. My "users" table in MySQL has 5 columns as follows: [LIST] [*]id [*]username [*]password [*]company [*]last_login [/LIST] … | |
Am using this code(shown below) 4 uploading an image. while using this getting an error like 'there was an error moving the uploaded file" what could be the reason for this? Though an error occurs,am still able to upload the image successfully. ie the image is saved at tha intended … | |
Small script to pull information from [url=http://trac.edgewall.com/]Trac[/url]. Note that this will [b]only[/b] work if you set up your trac environment to use a MySQL database (It is pretty simple to switch from SQLite to MySQL though). It uses template format just to make it easy to customize. I originally had … | |
Hello, New poster here: just starting with PHP, slow learner, not finding what i want in online manual (prolly me, not the manual). I've found an extremely simple js library which does exactly what I want: in "index.htm", you click on "div#1" and the text in "div#0" is updated from … | |
Parse error: parse error, unexpected T_STRING in on line 21 [COLOR="Red"]21 = $query = “select * from users where username=’$username’ and password=’$password’”;[/COLOR] mysql_select_db("$dbname", $connection); session_start(); $username = $_POST[‘username’]; $password = md5($_POST[‘password’]); $query = “select * from users where username=’$username’ and password=’$password’”; $result = mysql_query($query); if (mysql_num_rows($result) != 1) { $error … | |
hello everyone, i badly need your help well, i have already implemented my chatroom in [B]PHP[/B] which runs perfectly on a single computer. however, when i have tested the chatroom over a network where atleast 2 computers accessing my chatrrom, [B]it appears on 2 separate frames[/B] that is, if 2 … | |
Hello, The following is a code excerpt I found on the web. Could someone please tell me where I can find information about how to use [I]$$[/I] variables and [I]${$var}[/I] variables. I have never seen them before. [CODE]foreach ($expected as $formvar) $$formvar = (isset(${"_$_SERVER[REQUEST_METHOD]"}[$formvar]))? ${"_$_SERVER[REQUEST_METHOD]"}[$formvar]:NULL;[/CODE] | |
i got error while run the below script............................... what should i do to send mail using php script?? script: <?php $to="someone@gmail.com"; $subject="php mail"; $body="mail sending using php script"; $header="From:me@gmail.com"; if(mail($to,$subject,$body,$header)) { echo "mail was sent to $to with subject $subject"; } else { print("<script language='javascript'>alert('error');</script>"); } ?> --------------------------------------------------------------------------------------------------------- i got … | |
I need help the script that i am using sends formating information in the name and email forms. The script is from: [url]http://www.kirupa.com/developer/actionscript/flash_php_email.htm[/url] if that helps? this is the script i am using Im a complete php noob and I need you help, any help would be greatly appreciated. <?php … | |
mails i have been sending reaches only to spam but not to inbox.., what can i do for reaching to inbox. thanks for replies | |
The code is sending for profile comment,I dont know what is wrong with my code because when i click the POSTCOMMENT button It just gives a blank Page,with no Error desplayed or Any message. And actualy the Datas are not sent. <?php //Connect to the database server $dbcnx=@mysql_connect('localhost','root','650715'); if(!$dbcnx){ exit('<p>Unable … | |
Hi, i am developing a political decision support system which based on the qualifications of the members will decide who will be the best for the post of ministers( for eg someone having a Masters in IT is more eligible than someone having a BSc in IT). I have a … | |
<?php $to="someone@gmail.com"; $subject="php mail"; $body="mail sending using php script"; $header="From:someone@gmail.com"; if(mail($to,$subject,$body,$header)) { echo "mail was sent to $to with subject $subject"; } else { echo " error occur check the code"; } ?>..................................................... this is my code for sending mail using php.. i got error like the below one:: Warning: … | |
Hello, All: I have another problem with this second-menu-selection-based on first menu script... whcih I want to implement into tour site... firsts menu shows countries, second menu shows cities related to selection from first menu. So ideally, when I bring an item to update and it already has Brazil as … | |
After logging in, main.php is loaded and instead of displaying the correct included page, it displays Main Page. So what is wrong w/ my code? Thanks in advance for any and all help... [code] this is placed inside the "main.php" <?php require('core/db.php'); require('core/check.php'); ?> This is placed inside the check.php … | |
Hi I am quite new to php and mysql, i have built a property website and i am getting stuck with the paging of the results I can get the paging to work fine when i set the variables manually but when the variabes like type and price come from … | |
I am trying to setup a classifieds script. I think I am getting close, but I have one issue. When I try to open the page, it opens but only displays the first part of the page. If you visit [url]www.clairson.com/ocalads[/url] you can see what it is doing. If you … | |
Hi everyone, I hope all are fine. Is there have anyone who knows about shorting a table whose containers are uploaded from the database. Please help:icon_eek: | |
Hi. I was given the task to create an internal website in our company, which will update (feed) from a database (they were talking MySQL). I have no idea if that is possible and what to google for. My first guess was if it is possible it's using php. You … | |
need help with some back end development for a client. he is looking for members to be able to recive e mails from different air and see ports that he has pre selected in his/her signing up process, so for instance we selects alert from dover england and the site … |
The End.