39,393 Topics
![]() | |
Hi all, I'm trying to create a curl script that will query a remote server using php/cURL via a form submission. - submit a form with two values (member id, postcode) - 1 value is only numerical, postcode is alphanumeric - if a result is found then display that NUMERICAL … | |
Hi, There will be more than 3000 users will upload word document to different folders on my webspace at SAME TIME. How should handle it? I did file uploads but not for more than 4 or 5 user uploded at a time. PHP and MySQL is used. Thanks | |
Hi, I tried to work this query out for a while but till now i still couldn't find what actually went wrong. This search query has 2 search query option. 1) wildcard text search box 2) drop down list option A user can either choose to search by (1) or … | |
hello... i am doing one project. in my registration page all javascript validations are working in mozilla firefox. but it is not working in internet explorer. anybody knows what is the problem is der? | |
[code] <?php $MD5Code = "kikugalanet"; // Your Neuz MD5 Code $dbAddr = "127.0.0.1"; // Your MSSQL Host IP $dbName = "ACCOUNT_DBF"; // Your Account Database $dbUser = "sa"; // Your Database user $dbPass = ""; // Your Database User password if(!extension_loaded("mssql")) { echo "The MSSQL extension is not enabled on … | |
How to replace one backslash with two? This code doesn't work: [CODE] $msg = str_replace("\","\\",$msg); [/CODE] PHP will two backslashes insert into database as one. If is there one backslash it will return a parse error. | |
Today went to use GD within PHP and a simple check of phpinfo() showed it wasn't installed, but running php -m show that both (pdo_mysql and gd) where installed. Does anyone know how to sort this? [INDENT] [CODE] - PHP Modules ctype curl date dom exif filter ftp gd <-- … | |
Hi, The problem is that a Uni I am creating a PHP/MySQL based game. I have got it working for multi user movement and picking up objects but the trouble im having is implementing the puzzles into it. I have the user table which has my puzzles as: puzz_1, puzz_2, … | |
Not sure if this is the right forum - but i will be coding the solution in PHP though (i think) if thats worth anything... Im doing a bit of work surrounding the area of journey planning, and im just wondering, how the heck do they do it? Say for … | |
Hi..Have you created a program using ms word? i want my system display the records in ms word...when you click the submit button,ms word will open and you will see all the records saved from the database..What are the codes i will used.?tnx in advance.. | |
Hi..Currently creating a voting system.On which i have to save all the total votes in database.What is the format or should i say the code in counting of votes. I have already a list of candidates and radio button.I want that if i click one of the radio button for … | |
So I made a register script and a login script for my website; here is the register script: [CODE] <?php $host="localhost"; $username="root"; $password="quatre"; $database="binary"; //make connection to mysql //and store connection in the variable $con $con=mysql_connect("localhost","root", "quatre"); if(!$con) { die('Could not connect'. mysqlerror()); } mysql_select_db($database); $aid=$_POST['aid']; $pass=$_POST['password']; $fname=$_POST['fname']; $lname=$_POST['lname']; $phone=$_POST['phone']; … | |
please help... I have a looping textbox.. i cant get the value of the textbox when a user input a value. when a user click the submit button, i want to post in to another page and display it.. I have a code here [CODE] for($i=1; $i<=$_REQUEST['no_textbox']; $i++) { echo … ![]() | |
Hi, I want to write a script which can do the following job, i have looked with Google but could not find any. The script should click a link and get the file to download on the server on which the script is running to a folder. The link to … | |
i am trying to use a flatfile database just for a basic webpage. i have no mySQL and need a login file to keep certaian things private from guests, and to also have members view a personal page each time they login. i have been trying to use this code … | |
Okay, I am creating a simple forum for my Grade 12 Summative Project, and am having a hard time searching the forum. I have two tables which i would like to search, setup like so: table1 --------- post_id - AI primary poster_username post_subject post_text post_time - stored as time() would … | |
I am building an AJAX web application in ExtJS im not sure what I should use for the back-end of my application. Can someone help with a comparison of PHP vs. Ruby vs. Jaxer? | |
im making reservation system online, i have a problem how to show the data choosen by the user to another php script? here's my code. index.php code [CODE]<form method="post" action="confirmreserve.php" style="margin:auto;"> <table width="95%" border="0" align="center" cellpadding="4" cellspacing="0"> <tr> <td width="50%" align="left" valign="top"><strong>Check-in Date</strong></td> <td width="50%" align="left" valign="top" class="body2"><strong>Check-out Date</strong></td> </tr> … | |
Hi all, i am trying to develop a plugin that sets a calendar in which i define date ranges... for example, spring, from 21 march may to 21 jun summer from 21 jun to 21 september and so on , what i would like is that given a date range … ![]() | |
Hello all, I have a php function that deletes the contents of a database table that relies on a javascript confirm box to tell it what to do as follows javascript function as follows [code] function deleteMasterList() { var outcome = confirm("Delete Master List, you will have to re-enter all … | |
Just posted this in the PHP forum, but thought it was the wrong place: [URL="http://www.daniweb.com/forums/post1092005.html#post1092005"]pdo_mysql and gd recognised/enabled in terminal but not on phpinfo()[/URL] which is basically: I've got GD and pdo-mysql enabled on my version on php (ran php -m to check and they are both there) but when … | |
hi, i'm new to php... i have created a login page -- login.html, where user can enter username & password. when they submit the form, leads to a validation page -- login.php if login succes it forwards to 3rd page. Suppose if it fails, then again redirects to login.html where … | |
Hi, I'm trying to run a Java App from PHP. [B]system('java -jar /home/dave/web/drupal/java/dist/emp.jar');[/B] fails. nothing prints out, it just returns FALSE. However, this works: [B]system('java -jar');[/B] Prints out the help info normally associated with incorrect parameters passed to Java. This also works: [B]system("ls -l /home/dave/web/drupal/java/dist/emp.jar");[/B] Prints out a listing of … | |
Hai, I had found in many websites that they pass their variable using GET method and their URL is like this [ICODE]http://www.sitename.com/variablename[/ICODE] My webserver is apache and please any one help me to pass a variable in this way Thanks in advance Rajeesh | |
Hi, this is my first post here at DaniWeb, so be gentle! :icon_smile: I am trying to learn PHP, but first want to set up an IDE on my MacBook, because others have said it will speed up the learning process. I installed Eclipse PDT All-In-One v2.0.0M2 and it seems … | |
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error … | |
I want to intergrate a video sharing CMS into a desktop application where it shows full screen (like a home cinema hard drive) with menus etc... but I want all the content to be linked to from megavideo and youtube etc AND uploaded by users | |
I just went all through the PHP manual and can't find what i need. A form has a dual function where it will display dates from mySQL if they exist in US english date format m/d/y. strftime() works fine as long as there is a date argument. When i display … | |
![]() | I've created an array, but am struggling to get the end result I'm looking for - could anyone point me in the right direction? Current result: http://www.equinefocus.co.uk/random/4l56fdfm/20091230.php Array $filters_array = array ( "Filter001"=>array ( "<a href="http://www.equinefocus.co.uk" target="blank">Filter 001: Where rating = 1</a>", // filter name and link "SELECT * FROM … |
hello friends.. i have a value in database in this format.. 20091231190903 i want to split in date format in php 2009-12-31 19:09:09:03 how can i do it...? kindly guide me plz.. |
The End.