39,323 Topics

Member Avatar for
Member Avatar for vssp

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 …

Member Avatar for zippee
0
46
Member Avatar for queenlin

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" …

Member Avatar for zippee
0
123
Member Avatar for mikeandike22

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 …

Member Avatar for mikeandike22
0
127
Member Avatar for conetrader

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 …

Member Avatar for conetrader
0
257
Member Avatar for <?php?>

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 …

Member Avatar for newonlineinfo
0
119
Member Avatar for j4mes_bond25

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 …

Member Avatar for zippee
0
140
Member Avatar for puddin

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 …

Member Avatar for puddin
0
142
Member Avatar for ashneet

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 …

Member Avatar for ashneet
0
117
Member Avatar for d66

Could someone please direct me on a way to make my phpBB forum more interactive like to say vBulletin? Thanks for any help

Member Avatar for b4codes
0
204
Member Avatar for vikter
Member Avatar for bagnallc

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 …

Member Avatar for barnamos
0
86
Member Avatar for gallopers

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 …

Member Avatar for barnamos
0
80
Member Avatar for iamthwee

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, …

Member Avatar for Puckdropper
0
79
Member Avatar for ytregnn

[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 …

Member Avatar for php4ever
0
101
Member Avatar for shaocpa

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!

Member Avatar for noppid
0
219
Member Avatar for cancer10

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 …

Member Avatar for zippee
0
8K
Member Avatar for aarya

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 …

Member Avatar for aarya
0
100
Member Avatar for alpha2006

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 …

Member Avatar for Lafinboy
0
65
Member Avatar for ShazB2K

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", …

Member Avatar for vipula
0
111
Member Avatar for Eiolon

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 …

Member Avatar for KeithMcL
0
128
Member Avatar for j4mes_bond25

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, …

Member Avatar for j4mes_bond25
0
174
Member Avatar for vssp

I have a form and have two input listbox . When i select the list valuse left list box and then perss the button selected values are move in the right list box and then perss the Update button right list box values are storted in the database If any …

Member Avatar for shaocpa
0
80
Member Avatar for electnick

I have successfuly installed Apache 2.0.52 on my Windows XP system. I have also tried to install PHP 5.0.3. I have placed the Php.ini file in C:/windows and the php5ts.dll file to C:/windows/system32. I have also added these lines to the httpd.conf file LoadModule php5_module c:/php5/php5apache2.dll AddType application/x-httpd-php .php .phtml …

Member Avatar for hifake
0
85
Member Avatar for ShazB2K

Hi, Um new to php... kindly help me on the following... <?php $action = $_SERVER; ?> <?php //if(!$_POST=='result') //{echo "<p style=' font-family: arial; color: blue; font-size: 14px;'>You are not authorized!</p>"; return false;} //$choice=$_POST; $name=$_POST; $link=mysql_connect("localhost", "root", "") or die("<p class='texxt'>Can't connect to server: ".mysql_error()); mysql_select_db("test",$link); $query="SELECT * FROM saudi_journal WHERE …

Member Avatar for Puckdropper
0
116
Member Avatar for Dark_Omen

I am having trouble setting up PHP with my apache server on my windows machine. It gives me an error when I test the configuration saying that "Cannot load C:/php5/php5apache2.dll into server: The specified module cannot be found". I added (to the httpd file in the conf folder): [code]LoadModule php5_module …

Member Avatar for Dark_Omen
0
139
Member Avatar for shaocpa
Member Avatar for shaocpa
0
172
Member Avatar for quansah

i've put in this thres before and didnt get much hlp. i wanna enable users of the site to upload a picture into a file (like in hi5 or yahoo messenger) and have it displayed as a thumbnail which would have a link to the original sized picture.

Member Avatar for zippee
0
300
Member Avatar for puddin

Hello Pro Programmers! Can you help me, Please!!! What I want to do is let my users message each other, I have my form and message page setup I love it! It’s working the messages are going in the right ID’S in the Mysql database, BUT! It is overwriting as …

Member Avatar for Dani
0
80
Member Avatar for vssp

Right now In my country database county code vlaues are stored in 3 digits. So we need to convert the country code three digite to two digit Please write a php function in an independent php file that will contain an array that will map the current 3 letter country …

Member Avatar for digital-ether
0
282
Member Avatar for bobtheteacher

I am the webmaster for a high school website, [URL="http://www.centennialonline.org"]www.centennialonline.org[/URL], which as you can tell, is in sore need of major updating. I need to make it friendly to several users who can update their own pieces of the site. For example, the principal needs to be able to update …

Member Avatar for digital-ether
0
99

The End.