39,320 Topics
| |
Script is executed in a long time in the end does not display results ? | |
Hello Before I show you my code I would just like to put forward to whoever is willing to help me, and I have spent the last 2 days looking at hundreds of different login scripts and my head is hurting as the more I look at them the more … | |
Hello I have been reasearching many sites regarding encryption, I am a bit lost. I can cryp() the password with $salt but when I go to login and compare the passwords it keeps taking me back to the login. I have taken out all the encryption code but below is … | |
ok so after some time i can do some simple reg exp but this one is confusing me. I currently am testing my reg exp on regexpal.com but php wants to work differently this is what im using [CODE] preg_match_all('/{(\w+)(([:]\w+)*)}/', $page_content, $matches, PREG_SET_ORDER); foreach($matches as $match) { $src = $match[1]; … | |
Right now i have 6 files: Main.php = The login page Info.php = The first page seen after login ForgetPass1.php = The first page for password recovery ForgetPass2.php = The first page for password recovery functions.php = Holds all the php functions used in all websites including: -logout() -confirmUser() -SQL_Connection() … | |
Hi I am very new to PHP I have two text boxes A and B when I open the web page A is already populated with a number if I input a number in B I want that number to be subtracted by A (A-B) and the answer should be … | |
Hi, I am developing a CMS based website which also has a flash gallery, the gallery accepts only xml data as input so i am using info from a database to output the required xml using php. I am setting the page that is currently being viewed using a session, … | |
hi i have a code that uploads an image...but it gives me an error when i upload a photo: Warning: move_uploaded_file(test/ssss.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in C:\xampp\htdocs\test\add.php on line 21 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\xampp\tmp\php163.tmp' to 'test/ssss.jpg' in C:\xampp\htdocs\test\add.php on line 21 … | |
See this is the URL path to access my local server.. "http://localhost/CodeIgniter/" I need to change this URL and need to give my own URL..after adding my URL i need to access my local server using my own URL... How can i do that??please help me... | |
I have a javascript code that modifies the data for a hidden field on the page. The page is then submitted to php. The problem is although I can see the altered data in firefox when I select the section and do show source for selection, the modified data in … | |
Hello, I want to create a DDoS prevention script, but I don't know which is the best way to go about it. What I was thinking is that, when a user attempts to connect to the website, it records their IP and then if there is loads of traffic, it … | |
Okay i have been looking my best for this problem on forum. I have a website script written in php, now the menu it has is in php and uses a tpl file. This is very crude compared to what i need, now i post here in DHTML because the … | |
Hey.. I wonder what's the difference between the use of [COLOR="Green"]||[/COLOR] and [COLOR="Green"]OR[/COLOR] I have an example: [CODE] $Assumed_Variable = 1; $Assumed_Query = mysql_query("select something from someTable",$connection); if($Assumed_Variable == 1 || mysql_num_rows($Assumed_Query) > 0){ echo 'Success!'; } else{ echo 'Failure!'; } [/CODE] So, if I understand this issue, this means … | |
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\emohonv2\module-srksmka-spi.php:116) in C:\xampp\htdocs\emohonv2\auth.php on line 3 | |
Hi Friends , I m new to Joomla and I developed a admin part component and after successfull data insert I need to do a redirect to my component view. My doubt is how to do this redirection from my "Model" I got a code Like this [ICODE]$msg = 'A … | |
I posted this once but no one is stopping by so maybe the title didn't sound much interesting. I got the code for a google search bar and pasted it on the corresponding <div id and made a separate file for the search results and worked perfectly. But when I … | |
Hi, so what i am trying to do is this: If someone types in an invalid url of my domain (eg: mydomain.com/place-that-doesnt-exist) I want the user to be redirected to the index page where a message says "you tried to go to mydomain.com/place-that-doesnt-exist but there is no page there. It … | |
hi everyone. i am trying to make a code which will act as a checkbox, but will be hidden from view, only to be used by people who know its there. it is part of a form and im a bit stuck, i was hoping to use a checkbox but … | |
body.php [code=php] <html> <head> <script type="text/javascript"> function showUser(str, query) { if(document.getElementById("Author").checked==true) { query="author"; }else if(document.getElementById("bookname").checked==true) { query="bookname"; }else{ document.getElementById("textHint")="please select"; } if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() … | |
php code for form vilidation the form consiste on the following filed name,email and password . | |
I'm creating a web app that will use Twitter API's and OAuth so that my app can post to my users twitter accounts. Here is where I'm at so far - I get to the twitter authorization page. Authorize the app to be able to post to my twitter account, … | |
So, I am running this PHP script and it's execution lasts for about 10 minutes or maybe even longer ( don't ask me what I'm doing :|;) ) After it's done, my PC runs slow, it probably eats up resources (don't which resources) so which command to use to free … | |
Want to learn basics of PHP.Can you share your knowledge with me? | |
I tried to put a google search bar in a website. First time I pasted the whole code within the <div id="search_bar"> </div> and it was all smooth. However I want to control it from a php file. I tried to include it through .php (files are already .php ) … | |
MARITAL STATUS IS ON LINE 26 FROM THE FOLLOWING CODE. <?php // Get values from form $SURNAME=$_POST['SURNAME']; $MIDDLENAME=$_POST['MIDDLENAME']; $FIRSTNAME=$_POST['FIRSTNAME']; $COLLEGE=$_POST['COLLEGE']; $MARITAL STATUS=$_POST['MARITAL STATUS']; $GENDER=$_POST['GENDER']; $PHONE NUMBER=$_POST['PHONE NUMBER']; $ROOM NAME=$_POST['ROOM NAME']; $GURDIANS NUMBER=$_POST['GURDIANS NUMBER']; | |
Okay, I used a tutorial from nettuts to create a log in form, so that's done. However, I would now like to create a form to update a scoreboard powered by a database (unless there is another method that may be more efficient. I have four teams and thus four … | |
I have a system where there is a list of items. each has these three fields id - unique to each item. The index field for the db name - not unique date - not unique I just started using arrays, and am not that proficient. Also, I haven't worked … | |
I wonder if how could i achieve this code: these are the conditions 1. there will be 2 text-areas 2. the text-area will be having a input of several lines of like this one: [CODE]Griffon Treant Werebear High Elf Efreeti Vampire Sheep Elven Archer Militia Archer Dark Elf Magician[/CODE] 3. … | |
Hi everyone New to the site (as you can tell) I've searched the web and your site and still struggle to find an answer to my question. I'm creating a profile website in PHP, I have my sign up and login forms, which registers the details on my sql database, … | |
Hi Can anyone tell me how to have the email that is received from a form on a website formatted so it looks nicer. Here is the code that generates what i see in the received email. i just want to make some lines bold and in red and on … |
The End.