39,402 Topics
![]() | |
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.. | |
hello.... i want to do text fadein ,fade out using javascript onload page. actually i want to display text which is in database that text will appear in front end with fadein and fadeout effect. anybody plz help.............. | |
How to create independent search engine like google? Without linking with google how to search images and videos? | |
Hi, I'm currently trying to learn how to use php gtk2 to work with sqlite in stand alone application. If i try to open it in browser all working. But, its not working when i try to use php gtk and open it in stand alone application. i've already enabled … | |
I've managed to get PHP to work well with SQL, but date and time-related parts of my site are proving difficult to understand. I've created 3 records with these dates: December 26th (2009) - 2:25pm January 5th, 2010 - 3:00pm January 7th, 2010 - 9:00pm I'm trying to get it … | |
How to search images from diferent websites and display without storing it. (Problem is how to search and display images like google image search with perticular word entered by user) | |
So i've set up user profiles on one of my sites to enable users to add custom colours and change the background. Only thing is the CSS only shows up sometimes on Firefox and in IE it doesn't even appear in the source code :icon_confused: Anyway here's the PHP used … | |
hi i am creating a webpage with a menu down the left hand side. depending on which link in the menu you click a table on the right of will show the relavent information. the table will show the relavent information from a mysql table based on the link clicked. … | |
Hi.. I'am asking if you know how to code in back up files in database.. I have my submit button, and i want that if i click it,the process of backuping files will perform..and all the records stored in database will save in other disk.tnx in advance.. | |
I am using same login information for three sites at different hosting servers. I am using same database for three of them but i just want if i am login at one site and then move to second site then my i should be already loged in. how can i … | |
![]() | Hi folks, I know this ain't php, but seemed the best place to put it for now. Am trying to mod_rewrite the following: http://www.nu.wetwork.org.uk/index.php?adran=first&tud=second to http://www.nu.wetwork.org.uk/first/second/ I'm a complete idiot when it comes to regex/apache, so any advice would be welcome. I have already managed to place 2 rules which: … ![]() |
ADODB Error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified i downloading odbc driver for php...i paste that drivers in php ext directory....then also i m getting this error...anybody help me | |
Hi, [code] INSERT INTO person (name, surname, fk_accessid) values ('$name', '$surname', SELECT id FROM access WHERE name = '$uid' AND psw = '$psw') [/code] Hi above code doesn't work. Is there such thing thou? EDITED: Note: I meant to open this in Mysql forum but I cannot move it now. | |
Dear All; i would like to ask how to divide data among pages like what yahoo mails did when you read your mails for example the first page contains 10 mails when you press next page , the you go to page 2 which contains another 10 mails , i … | |
Hi, I stuck on this query for quite a while. will appreciate if someone can help me to look at this query and correct me where i had done wrongly. [CODE]$val_d = $_GET['val_d']; $sql = "SELECT * FROM device"; $sql .="WHERE device_num LIKE '%$val_d%' ";[/CODE] the error message prompted was: … | |
Hi, I want to print many post cards with the click of a buttons with contents and addresses comming from the database using PHP. Can anybody have some ideo how to do that. My concerns is how can I print a number of post cards with any user interaction. Thanks | |
Hello I am pasting my code.this code is used for data collection purpose.But i m getting an error in this.Can anybody help me? [CODE]<?php ini_set('max_execution_time','510000'); ini_set('memory_limit','2056M'); require_once 'Classes/PHPExcel.php'; require_once 'Classes/PHPExcel/IOFactory.php'; //$zipcode=35212; //$sleep_time=1; //Generating sleep time random-wise $sleep_time = rand(1,15); $result_array=array(); $number=2; $objReader = PHPExcel_IOFactory::createReader('Excel2007'); $objReader->setReadDataOnly(true); $objPHPExcel = $objReader->load("C:\Documents and Settings\Tushar.Chavan.DC\Desktop\sunlight\US_ZIP_CODES.xlsx"); … | |
hi all, i found this code on net.this class take one image file and output two different dimenstion of that image.. ..problem is that when i am including this in another php file as below and excuting it showing me Error..? Errors are Warning: imagesx(): supplied argument is not a … | |
[B]I want result as Not Available if value is null or 0000-00-00 or 1971-01-01[/B]Hi, this is a code , which I used for showing results from 3 tables. Lease_North is my main table. When I join with another 2 tables using Left, if there is not value exist in table … | |
hello, i m fresher in php. i m having problem getting following display in "multi level combo box" 1. 1.a 1.a.1 1.a.1.1 1.a.1.2 1.a.1.3 1.b can you please help me how it can be done ? thanks sadiya | |
hey everyone, i got a website that works with ajax, well simply what it does is that when you start typing customers name it shows the hint about what names you could be trying to spell. i want to change this so it wouldnt show the name sugestion but it … |
The End.