39,402 Topics
![]() | |
I want to create a slideshow of images. Image files will be uploaded from harddisk to the browser and change each other at specified duration. How can i generate delay (after which the next image will be uploaded ) ? Thank you in advance | |
I've been having this php/mysql problem that I can't seem to be able to fix. I'm displaying information from a mysql database on my site, but for some of the variables only half of the cases can have information in tehre that needs to be displayed on the site (e.g. … | |
Hai, I got xml parser to read xml file the output is like multi dimensional array ,i want to search particular id and get that matched id details from that array if the element have child to read child array also I give one example here <map> <page id="home" name="Home" … | |
Hi, I have problem with uploading images by php script. I created a HTML form for user to input image file, and simple PHP script which accepts this file from form and prints it in the browser. My script uploads file, prints file's name, generates HTML code, but does not … | |
Hi ! When I want to display following code by assigning it to $res["description"] , in the following mentioned way, it works fine and displays properly. The code is : /************START CODE*****************/ <script language=\"javascript\"> var uri = 'http://impgb.tradedoubler.com/imp/img/16173558/1014659?' + new String (Math.random()).substring (2, 11); document.write('<a href=\"http://clkuk.tradedoubler.com/click?p=37983&a=1014659&g=16173558&epi=$_SESSION[UID]\" target=\"_blank\"><img src=\"'+uri+'\" border=0></a>'); </script> … | |
I get this error when using ray instant messenger chat.... can anyone help me? | |
lets say i have a file named test.html and i want to store all the text of this file into a variable named $email. how would i do that and be able to change few things in text with string replace command. I am just trying to make html email … | |
I found a neat program called PAMPA (portable Apache, MySQL, PHP, etc) which allows you to distribute php scripts/apps via CD/DVD rom where the app will install Apache / PHP / MySQL on the fly. Seems to work real nice :) [URL="http://pampa.phpsoft.it/"]Here is the link[/URL]. My apologies if this link … | |
I have one of the free PHPBBNOW boards. I keep running into instructions to "save to directory". In my ignorance, I cannot FIND the directory. PHPBB support does not address, and hasn't answered, this. Sorry if this is a "how do you turn the doorknob" question - I'm so old … | |
Hello, I Am having problems with a simple script i wrote to login a username and password from a mysql database. i get the error **Warning**: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in **H:\steadyology\steadyology\account.php** on line **21 I ran the script on my localhost where i … | |
Hi, I am beginner in PHP and need to want to create a gallery of thumbnailed images so that user could load the original image (in separate window) after clicking on its thumbnail. Is it possible to do it in PHP? I'll be very grateful if you give me some … | |
are there any scripts or any people who could add some code onto my site ipetrescue.com , so a user can submit an article and a photo ad with description(two separate things) thanks for any help mike | |
What would it take to integrate a forum to this website? what do i need to do? what free forum software is best? mike | |
I have been working on installing a script called Fantastic News from [url]http://fscripts.com[/url] I have been trying to make it so I can use the news.php on other pages Right now im getting an Unable to Open Template error [url]http://www.ipetrescue.com/arts/articles.php[/url] [b]Here are the instructions....[/b] If you plan on including news.php … | |
Hey, i just joined this place because i really need a job... i dont expect alot of money, however i have sold my codes for over $800, i am looking for any size job any amount of time, pretty much anything.. i am young but i have been coding for … | |
I am thinking of doing the forum, I have downloaded the phpbb and Lussumo Vanilla, but I dont know how can I start doing with it, can anyone teach me, what is the first step of doing it? is there any web site teaching people how to do it? thanks … | |
I recently inherited a forum site for my car club when the previous admin simply quit. The easiest way for me to run the site and make the change seamlessly would be to log in to his account and go from there. Problem is I don't know his password. I … | |
I have a bit of a problem. I am opening a file that has been exported from access with fopen(), reading it to a variable with fread() and then closing it. these files unfortunately have a LOT of blank lines. ex(one of them has over 50,000 blank lines). So i … | |
I am new here and having a big headache. I have inherited a web site at my job. It is a site for a history magazine and I need to be able to have a search and advanced search option that allows users to search the article table by keywords. … | |
Hai, i want to send mail from my localhost in php,i try to using my outlookexpress smtp and email parameters but it gives warning like this Warning: mail() [function.mail]: SMTP server response: 553 Sorry, that domain isn't in my list of allowed rcpthosts. in D:\wamp\ww It's possible to send mail … | |
I want to make so that you can download a affiliate-link (exe-file) direct from a "download"-button... but the problem is that this company (who provide the affiliatelink) doesn't have a solution when it's about "download direct". I saw on a site ([URL="http://www.pokerlistings.com/betfred-poker"]http://www.pokerlistings.com/betfred-poker[/URL]) that apperently had a solution which makes a … | |
Bought webstore and using Lunarpages host, but cannot get past Parse errors in forum.php and forum_login.php to complete set up. Errors read: Parse error: parse error, unexpected T_LNUMBER, expecting ',' or ';' in /home/pagan4/public_html/forum_login.php on line 23, and Parse error: parse error, unexpected T_VARIABLE, expecting ',' or ';' in /home/pagan4/public_html/forum.php … | |
[php] <?php session_name ('YourVisitID'); ini_set('session.use_cookies', 0); // Don't use cookies. session_start(); ?> <!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> </head> <body> <?php # Script 16.0 - login.php // Send NOTHING to the Web browser prior to the session_start() line! … | |
I was trying to echo the quotation " in a string, but I realized it wasn't going to work the way I thought it would, does anybody know how to do this? Thanks | |
If .. Or Switch. Which one is better? Are they used for different things? Any pros or cons for each? Or is it just a matter of which one you like best? :) | |
See, I am using the following PHP code to generate a PNG image file [CODE]<?php // create a 100*30 image $im = imagecreate(100, 30); // white background and blue text $bg = imagecolorallocate($im, 255, 255, 255); $textcolor = imagecolorallocate($im, 0, 0, 255); // write the string at the top left … | |
Hi, I am very new to PHP and i am getting an ... Parse error: parse error, unexpected T_STRING i have removed this bit of code and the page works perfectly. but i need this piece of code... <? display_dl_menu("Related Links", " - <a href=\"http://www.indiana.edu/~jshouse/purpose.html\" target=\"_blank\">Jill's House Website</a>"); ?> I … | |
Hai friends previously I have optimized the query using index that time in my database only 65000 record ,right now in my database 1,50000 recoreds so i need again optimize the query .Now my site loaded very slow . Please give me any suggestion how to optiminze the query agian … | |
Please help, can't seem to see where problem lies. I have placed session_start() at start of script, yet problem recurs. Will appreaciate suggestions. [php] <?php session_name ('YourVisitID'); ini_set('session.use_cookies', 0); // Don't use cookies. session_start(); ?> <!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" … | |
Here im working on this code and I cat quite get it to work I want it to take the entries from a form, check to see that they meet the criteria (pass must be 6 chars, must be 13 or older) and then insert them into a table in … | |
I am using a script that counts clicks on various links in the home page. The site is for the community channel of a cable TV company and the user can purchase ads or post an obituary or a weather related delay or calcellation. We want to add a count … | |
Hi all, does anyone know if it affects the way google ranks a page if most of the data in php pages is drawn from MySQL? For example - a simple [B]About Us[/B] page... One page in php with all body text drawn from MySQL, versus, one page in php … | |
My Contact form on my website [url]www.allinclusivewebdesign.co.uk[/url] does the job well. However, as the time went by, I've been thinking to make it do MORE than just a basic form, allowing me to receive the information viewers' submits (as it does perfectly well, at the moment). I wonder if anyone … | |
I'm dizzy trying to figure out what I should do, I will treasure whoever can help me! When a user comes to the site they are automatically in their own $_SESSION, they are greeted by their username, it looks professional really nice... If the person is not a member they … | |
I have three question: 1) how can i post a variable which is an array? 2) Lets say i post declare a variable by typing: [php]$_POST['test'] = 'hello';[/php] would it transfer that variable to next page. 3) is it possible to post variable with the header command: [php]header("Location: index.php?Successful=UPDATED&hello=yes");[/php] into … | |
Could someone please direct me on a way to make my phpBB forum more interactive like to say vBulletin? Thanks for any help | |
Hi all, I would some help in C++ (Files) and in web design using php | |
Hi,I can provide all the code etc if you like but this is a very general query and therefore im hopeful someone can answer without too much inconvenience caused.My position and steps so far are basically this - I built a database full of information in MS Access.I duplicated it … | |
sorry for my ignorance but i am a true learner at this web site building game and only started trying to build my site a few months ago. i have now created a monster ( be it a basic one ) my site is [URL="http://www.racehorsetrainer.com.au/"]www.racehorsetrainer.com.au[/URL] and i am offering trainers … | |
![]() | Ok I just installed the software that came with my book, (php mysql and apache all in one) The apache stuff, the mySQL stuff and the php stuff. Everything went smoothy apart from the php bit. I had to alter a few dlls or something to make it work? However, … |
[LEFT]I don't know if this is the right place (because I don't know if it's PHP-related). I've registrered two .com-domains (the will go to two dofferent unrelated sites) which I have on the same account on the sama webhost. When I asked my webhost about it they told me that … | |
how deposit a picture to MYSQL database below is the code : <?php $id=$_POST; $photo=$_POST; if ($photo<>""){ $fp=fopen($photo,"r"); $data=addslashes(fread($fp,filesize($photo))); } $sql="insert into product(id,pic) values('$id','$data')"; mysql_query($sql,$conn) or die ("插入数据失败: ".mysql_error()); ?> but always unsuccessful! why? plz help me! | |
Does any of you know how to mask a URL in php?? Like the one you see in free URL [URL="http://www.shorturl.com"]redirectional services[/URL] I mean I have a url like [url]http://www.my-server.com/[/url] which will redirect me to [url]http://www.some-other-server.com/abc.php[/url] by the following PHP command [CODE]header("location: http://www.some-other-server.com/abc.php");[/CODE] But I want the URL in the … | |
i m trying to do shopping cart. i am struck in between. i did chekout,add,update ext in shoopping cart and when person try to checkout he should complete the form with all credit card info ,addressext. and connected to payment gateway like verign for creditcard validation.anybody pls tell me how … | |
I need libxml-2.4.14 or later (libxml installs a DOM XML library that is used to construct and parse XML messages. Learn more about libxml at [url]http://us2.php.net/manual/en/ref.domxml.php[/url]) to be installed for a script on my site to work. However, this library is not installed on my server and I am currently … | |
Hi, Can anyone kindly help me to modify the following script to diplay the result in several pages if the resuts are greater than 10. [php] <?php $action = $_SERVER['SCRIPT_NAME']; ?> <?php //if(!$_POST['search']=='result') //{echo "<p style=' font-family: arial; color: blue; font-size: 14px;'>You are not authorized!</p>"; return false;} //$choice=$_POST['choice']; $name=$_POST['name']; $link=mysql_connect("localhost", … | |
I have created a login script using a session. Anyone can log into the website but I want to make it so a particular link is only shown if the user has permission. In the database, access is shown simply by a Y or N (for Yes or No). If … | |
I normally use [url]http://validator.w3.org/[/url] to validation my XHTML, however, in my current project, I've used PHP as well & all my files has ".php" extention so can't use this site to validation my XHTML codes. Mainly the PHP I've used is for the "include" function to share navigation, header, footer, … |
The End.