39,326 Topics
| |
hello.. i have a table name [B]paintshop[/B] and have 4 fields for example [U][B]table:paintshop[/B][/U] bodyNo | defect_code | qty | date 58786859 | FM | 9 | 2011-11-29 58786859 | BB | 1 | 2011-11-29 58786859 | TN | 4 | 2011-11-29 58786860 | RN | 7 | 2011-11-29 58786851 … | |
Does anyone know of a way to encrypt a string and output it as x number of characters? I need it to always return the same number of characters. I know MD5 always returns it as 32 characters. I'd like for it to return less that that, maybe 20 or … | |
Ok i got a problem, i want the domain directory default folder to have index2.php as default page, but i DO HAVE also index.php. so when i even visit mysite.com/index.php it only shows mysite.com/index2.php, enven entering it explicitlly this is my rule DirectoryIndex index2.php index.php (I have a reason to … | |
I am wanting to learn the singleton method, and I am having an issue with my code. I've been manipulating my own code for a few days now, but decided to use someone else's class to give it a try, and I am still coming up with nothing. Any help … | |
Dear Friends, I'm Currently using php session ( $_SESSION[''] ), I want to use $_COOKIE Because when a user didn't click the logout button and he closed the website. still he is showing Online because i write the code at the logout page. So If we use $_COOKIE it is … | |
hi im not great at programming and have been trying to fix this for ages. i am using a script to create thumbnails and display images it all works fine. the problem is for each record on my database, eg each page on my site i have numerical image folders … | |
Hi Guys, I have a 2 errors with PDO: Sometimes give me this error: Connection error, because: SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 111 Other time sent me this: SQLSTATE[42000] [1203] User [MYUSERNAME] already has more than 'max_user_connections' active connections This is … | |
Hi, I'm looking for a great tutorial that shows how to create a HTML/PHP form that emails once it has been submit. Any help would be appreciated! I'm also using a PHP includes. The contact form is in there. Am i still able to get the contact form to work? | |
anyone can help me with this error what does it do? im working on with my LOGIN script, and when i tried to run the script. what does it mean? anyone, thanks!:) Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\MEA\connect.php:7) in C:\xampp\htdocs\MEA\testlog.php on line … | |
Hi, I need to write very simple RTF parser to write and read basic rtf (bold,italic, underline, paragraph et al). I have searched for techniques I can implement but havent found good example. I would like to hear from you guys what approach whatsoever you consider to be best for … | |
I want to develop a web chat application. Can it be done using PHP, I have read that it can be done using Java tools, but I do not want to use it. Any recommendations of the tools to use for developing it. | |
I need someone to put me through on how i can show GMT time on my php application. I have tried all possible time functions all to no avail. i don't want the time to have anything to do with my system time because i want the application to automatically … | |
I really need someone to help me on the scenario below. I fetch all the rows in a database table with the mysql_fetch_array() and it was successful. I placed a button on each row in order to click and take the user to another page. On click of the button, … | |
hello all, after tried so much now posting here. i have two programs sql.php and form.jsp. i want to do insert values into mssql database from user input form. sql.php is able to insert the values into database. i have connected database using ODBC.form.jsp is able to give user input … | |
this is my as2 code , i m trying to get variable t outside the onload function but failed , somebody help me !!! [CODE]$i=0; myData = new LoadVars() myData.load("http://localhost/exercise/"+$i+".php") myData.onLoad = function(succes) { if(succes){ var t:Number =myData.total_pages; a.text=myData.t1 b.text=myData.t2 c.text=myData.t0 tp.text=t } else trace ("Error loading data") } next_.onRelease … | |
i know this is a stupid question but i just don't know :\ if i have 2 time variables [CODE] a = 00:00:12 and b = 00:00:05[/CODE] how would i add them together to make [CODE] c = 00:00:17 ?[/CODE] i get the data from the database in this format … | |
I am not familiar with PHP. I found a php form emailer from [url]http://www.freecontactform.com/email_form.php[/url] and edited the .php file to match my html by changing the name elements. I already fixed the syntax error with line 38 by removing the +$/" from: [CODE] $string_exp = "/^[A-Za-z .'-]+$/";[/CODE] I tried to … | |
Hey, I have 2 scripts, one processes an ajax request and sets a session in that script but I cant seem to get the session to work in another script... (echo the session out) on the same server just a different file? Can anyone help? Dan | |
Hi, I have implemented an event calendar script. Its working fine. But I want to display the calendars of 3 consecutive months on selecting the month and year from drop down menus on submit with the selected month and year in between the other two as in Easy PHP calendar. … | |
Im using PHPGenerator for mysql to generate some pages at work. Is it possible for me to do a MySQL query like below? Or am i trying something thats impossible?? [code] SELECT training.id, training.Employee_Name, training.Team_Name, training.Date_Requested, training.Course_Information, training.Training_Provided, training.Time_Taken, training.Trainer, training.Critique_Completed, training.Certification, training.Comments, training.file_name, training.file_type, training.file_size, training.Training_Information_Given_Was, training.Training_Course_Structure_Was, training.Training_Instructor_Was, training.Training_Instruction_Aids_Was, … | |
hi today i found out that our site is hacaked by pakcyberpyrates.They somehow edited my index.php and placed thier content.When i searched the net, thier are many site hacked by them for example SNIP. At present i have updated the index.php. Friends i need ur help to solve this problem. … | |
hi i want to be able to generate drop down menu's based on the database information these are the table information : [CODE] +--------+------------------+------------+ | tid | tname | sport | +--------+------------------+------------+ | 10000 | Boston Celtics | Basketball | | 10001 | New Jersey Nets | Basketball | +--------+------------------+------------+ … | |
Hello guys i have a little problem with integration..Im using flashcoms WebcamChat trying to use integration so that can ppl login in to chat if they are registred on my website... The integration is work ok but the problem is password in mysql User_tabe passwords is not a simple they … | |
I had my website designed using PHP and MySQL backend. Initially the website was designed with upper and lowercase letters in link names, obviously for better readability. Thus, we had links such as the one below, capitalizing the E of English: [url]http://www.islediscount.com/English/index.php[/url] Then, most people started typing in link names … | |
I have a simple web login application that requires a user to login to view the next page. The login page is HTML and when you click "Login" is goes to a PHP page to check the SQL Database. If it succeeds it goes to another HTML page. I want … | |
Not sure if this is a PHP problem or IIS7 issue: My form is used for editing client information, and it has worked flawlessly for the last year until now. Some clients have more "Notes" about their file than others, and recently clients with a lot of "Notes" have been … | |
Following is my code and I'm not able to write insert query and upload file. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.js"> </script> <script src="http://cdn.jquerytools.org/1.2.6/full/jquery.tools.min.js"></script> <!-- This JavaScript snippet activates those tabs --> <script type="text/javascript"> … | |
I know this is php but it has MYSQL in it and I didn't really know where to post it. :$ The problem is, I have a check that checks if the username and password inputted matches the database's username and password. [CODE] if ($username==$dbusername&&$password=$dbpassword) { echo "Welcome, <b>$username</b>."; }else{ … | |
Hi all, I have taken from net MVC tutorial, but it is in German language. Can anyone explain it me why there were joined two superglobal? What is a purpose? its below [CODE]<?php // unsere Klassen einbinden include('classes/controller.php'); include('classes/model.php'); include('classes/view.php'); // $_GET und $_POST zusammenfasen, $_COOKIE interessiert uns nicht. $request … | |
Hi All - I am creating a registration system (for events) and want to send the user a confirmation mail along with a list of the people he registered to attend the event. In one point of the process they indicate how many people they want to register, I use … |
The End.