39,402 Topics

Member Avatar for
Member Avatar for mexabet

Please, I need a code that is capable of preventing SEOQuake from loading on my websites, even if a user has installed the plug-in. For example, Google, Yahoo and Bing implements such feature. I just don't want it to load whenever anybody visits my sites.

Member Avatar for mexabet
0
155
Member Avatar for ady_1

Hi, I'm new to this and have a quick question. I have a form called register.html and have javascript to check the form validation [CODE=html] <form <input type="submit" value="Submit" onClick="return formValidate()"> </form> [/CODE] so in register.html when user presses submit the formValidate method (javascript) is run. once it returns true, …

Member Avatar for Alxandr
0
122
Member Avatar for kbramprasath

[code=php] <?php include("config.php"); // $sql="delete from UsersR where UsersID='$UsersID'"; $sql="CALL DeleteUsers('$_POST[UsersID]')"; if (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } echo "1 record deleted"; mysql_close($con); header("location:delete.php"); ?> [/code] it is my procedur [code=mysql] DROP PROCEDURE IF EXISTS `UsersR_DELETE_byPK` GO CREATE PROCEDURE UsersR_DELETE_byPK ( IN UsersID INT(11) ) BEGIN DELETE FROM UsersR …

Member Avatar for sam023
0
94
Member Avatar for elanorejoseph

Hi how can i make a drop down menu usibg java script.... please help its urgent.

Member Avatar for iraberyl
-2
106
Member Avatar for khicontn

i live in Vietnam, so My English is so bad, but i hope you know what i mean. I want to setup a server that use : Apache, PHP, and Ms SQL server persional edition 2000. But i only can connect Apache 2.0 and PHP 5.x it run ok But …

Member Avatar for Justin87
0
488
Member Avatar for Wilmar1980

When I run [CODE] $sendURL = "www.example.com"; $fp = fsockopen ($sendURL, "80", $errno, $errstr, 30);[/CODE] I get [CODE] Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/trunk/www/modules/webshop/run/payment/paypal/ipn_listener.php on line 51[/CODE] And when I set $sendURL to "www.sandbox.paypal.com", I get the same warning. I've been looking into this …

Member Avatar for Wilmar1980
0
174
Member Avatar for otherdummy

My friend is writing a simple forum, In this forum there is 1 MySQL database with 4 tables(forumsections, members, posts, replies) The question: He wants to notify by mail those members who have posted new posts, when anybody replies to their post. (like in this forum). Now he has a …

Member Avatar for network18
0
97
Member Avatar for phouse512

Hello, Right now, I am working on a little text-based game in PHP, and I am running into some problems with some functions that I defined. The exact error is this: [b] Notice: Undefined variable: level in C:\Program Files\wamp\www\germ\game_functions.php on line 52 Notice: Undefined variable: exp_cap in C:\Program Files\wamp\www\germ\game_functions.php on …

Member Avatar for network18
0
1K
Member Avatar for vishalonne

I am developing a small web site. I have a login Page (login_form.php) from where user has to select there user type from dropdown box values are "Administrator", "Store Keeper", "User". When user select "User" option from list in onchange event I am opening one popup window (depart.php) from which …

Member Avatar for network18
0
1K
Member Avatar for OmniX

I was stuffing around and I was wondering if it was at all possible to make a function or method, dynamic at all? In what context? well I would like not to have the specify the elements required by the function so at any given day it can be more …

Member Avatar for network18
0
182
Member Avatar for TheVendor

Hello, I was wondering if it would be possible to swap an image for another image at a certain time. This would occur when the user's system time hits say 6:00pm then it would switch to a different image. It would have to stay at this same image until say …

Member Avatar for TheVendor
0
123
Member Avatar for otherdummy

Hi I need help? please In my site i have smth like newsletter system. Logged in users can post information about their services and this information is shown in my site. I'd like to send such information (posted by users) to the mails of the other member-users of my site. …

Member Avatar for otherdummy
0
378
Member Avatar for jonow

On my website whenever i load it in Safari (both on Windows and Mac computers) it scrolls to the bottom of the page. It does not do it in any other browser.

0
72
Member Avatar for belper

Hello, I have this php code : [CODE] //echo $i."<br>end-".$end."-start-".$start; echo "<table bgcolor=#666666 bordercolor=#C0C0C0 border=0 width=700 cellspacing=0 cellpadding=10><tr><td background=\"images/topbar.gif\" height=\"45\"></td></tr><tr><td>"; echo "<b>$listDatetxt: </b>"; $lines[$i]->showDate(); echo "<br><b>$listnametxt: </b>"; $lines[$i]->showFrom(); echo "</a><br><br><b>$listMessagetxt: </b>"; $lines[$i]->showMessage(); echo "</td></tr> <tr><td background=\"images/footbar.gif\" height=\"30\"></td></tr></table><br>"; } echo "<center>"; [/CODE] This is the problem : In Firefox the table …

0
66
Member Avatar for OmniX

I would like to get everyones opinions on what processes should be used to validating and protecting the input into your storage medium aka MySQL. In particular listing possible php functions that hsould be run and maybe once we have a list we put them in order, from most to …

Member Avatar for OmniX
-1
109
Member Avatar for Byrne86

Hi, I am using 2 list boxes with 4 values in each. I want to create an action when a button is pressed on the form which will be something like this: If(value of list box1 is 1 and value of list box2 is 1) { total = total + …

Member Avatar for diafol
0
105
Member Avatar for wayz1229

can anyone teach me how to do loop for the script below.. thanks in advance.. [CODE] <?php require_once('config.php'); $aid1=$_POST['Question-1']; $aid2=$_POST['Question-2']; $aid3=$_POST['Question-3']; $aid4=$_POST['Question-4']; $aid5=$_POST['Question-5']; $aid6=$_POST['Question-6']; $aid7=$_POST['Question-7']; $aid8=$_POST['Question-8']; $aid9=$_POST['Question-9']; $aid10=$_POST['Question-10']; $qid1=$_POST['qid1']; $qid2=$_POST['qid2']; $qid3=$_POST['qid3']; $qid4=$_POST['qid4']; $qid5=$_POST['qid5']; $qid6=$_POST['qid6']; $qid7=$_POST['qid7']; $qid8=$_POST['qid8']; $qid9=$_POST['qid9']; $qid10=$_POST['qid10']; // update vote counter $query = "UPDATE answers SET acount = acount …

Member Avatar for wayz1229
0
102
Member Avatar for tobisan

Hi there, I've just managed to add a new widgitized sidebar to my site, but no matter what I tried, it keeps showing up bellow sidebar 1. any thoughts? heres the style.css: /* begin LayoutCell */ .contentLayout .sidebar1 { position: relative; margin: 0; padding: 0; border: 0; float: left; overflow: …

0
40
Member Avatar for sleign

ok laugh at me if you will, call my code sloppy or retarded or not very secure (I'm self-taught and think I do pretty good for where I'm at) but I'm pretty proud of myself for having figured this out. I've been trying to validate a form for the past …

Member Avatar for Devoted Hosting
0
215
Member Avatar for shishtawitch

hi, every one....!! i have two sites i.e mydomain.com secondsite.mydomain.com i want to make single login or signup account for both....!! how can it is possible.......!! My problem is that if i pass single session to one site it working but when i open my other site it doesn't works..........!! …

Member Avatar for diafol
0
79
Member Avatar for Benjip

I'm building a simple PHP 'shopping cart' (which is actually just a "My Favourites list" kind of function - no payments etc.) and it's been going pretty well so far. I've been modifying code that I found on a tutorial about creating a simple shopping cart, and it's serving its …

Member Avatar for Benjip
0
194
Member Avatar for gedas

hi everyone, im trying to create a little form that would simply keep the count of people that have voted and the score of the votes . here is my form in static html [CODE]<form name = "contestants" method="POST"> <font size = "3" face="Arial" color="#dddddd"> <input type="radio" name ="contestant" value …

Member Avatar for Atli
0
149
Member Avatar for bibiki

hey there. I am new to php and just out of curiosity I am trying to build an html table using nested while loops. I expect the following code to produce a table, but it is not doing so. [CODE]<html> <table border="1"> <?php $r=1; $rows = 5; $c = 1; …

Member Avatar for bibiki
0
800
Member Avatar for enzo420

Hi all, i've recently made a friends script that adds the id of user who requested the friend (user) and the requestee (req), with a confirmed column, 0 if pending, 1 if accepted. i was looking for a way to search through the friends table for all friends of a …

Member Avatar for diafol
0
180
Member Avatar for sarithak

hi frnds... i m using front end page is in HTML(contactus.html)... back end is in PHP page(contact_action.php).... here i m trying to send mail to admin from user...After successfull completion of mail sending , the user gets a Message.,..(like..messgae successfully send..).. below is my code...can any body change plz... [CODE]if …

Member Avatar for rajabhaskar525
0
129
Member Avatar for vishalonne

Can any one help me in solving my problem. My problem is I have Windows 2003 server which maintain different user with different authentication. No I am developing a login program in PHP (PHP and CSS file is attached) I need to fetch the user details from Active Directory of …

0
74
Member Avatar for therio7

Hi, I have a php form where I can upload 3 things into a database. 1. Image Description 2. Image category 3. Image (the image is uploaded in a folder with a unique random name, and the unique path name is inserted into the database) My script generate something like …

Member Avatar for diafol
0
131
Member Avatar for forzadraco

i have problem with rewrite url in .htaccess [CODE] Options +FollowSymLinks RewriteEngine On RewriteBase /web/ RewriteRule ^([^/]*)$ artist.php?artist=$1 [R] [/CODE] i'm used [R] because i can see that mistake.. if i'm type: [url]http://localhost/web/djardy[/url] but it's redirect to : [url]http://localhost/web/artist.php?artist=artist.php[/url] it's should be redirect to : [url]http://localhost/web/artist.php?artist=djardy[/url] and i change the …

Member Avatar for royalrai_p
0
216
Member Avatar for elanorejoseph

[CODE]If the variable $a is equal to 5 and variable $b is equal to character a, what’s the value of $$b? the answer to this question is give as 100 can any one please tell me how?[/CODE]

Member Avatar for elanorejoseph
0
75
Member Avatar for elanorejoseph

[CODE]hi can any one please tell me how categorisation can be done [/CODE]

Member Avatar for network18
-2
83
Member Avatar for panam72

Need help with the following to put a website back online. Im not the most experienced PHP programmer so yuor help is appreciated. The error: Parse error: syntax error, unexpected T_STRING in /home/stacklab/public_html/includes/content/homepage_content.php on line 5 The Syntax: <?php define("HOMEPAGE_CONTENT",'<div align="justify" class="homepageContent"><p><h1> Buy Legal Steroids & Bodybuilding Supplements Online - …

Member Avatar for Clawsy
0
224
Member Avatar for shishtawitch

how can i access my root folder as subdomain with .htaccess...!! i.e mydomain.com/folder to folder.mydomain.com without manually creating it as subdomain in cpanel

Member Avatar for cwarn23
0
70
Member Avatar for andrewsCWD

I have a php script which validates some form information submitted by the user. This information is then stored in my database. I use a do...while to ensure that duplicate email address are not submitted to the database. The script worked fine the first time I ran it, it entered …

Member Avatar for network18
0
170
Member Avatar for thelasttickets

Hi Friends any body use socialnetowrk API to integrate website to get the content of the user for sending invitation from my social networks and gmail,yahoo,hotmail mailing server . Thanks <FAKE SIGNATURE>

Member Avatar for ithelp
0
68
Member Avatar for levsha

I tripped on this one. I have an HTML form that has all kinds of input elements - text, textarea, radio buttons and checkboxes. I have no problem inserting or updating data in MySQL DB from the HTML form. But when I want to display what is already in the …

Member Avatar for venkat0904
0
181
Member Avatar for AdventDeo

Hello! I'm trying to extract a php table to an excel file. There's only ONE bit of problem. My table has alternating colors for each row and, lets say once extracted my cells range from A1:G20 in Excel, but instead of just coloring A:G, the row colors went all the …

Member Avatar for chaines51
0
112
Member Avatar for futhonguy

Hi, Currently i have 3 Tables - A, B and C. All 3 tables have their unique IDs (which are auto increment) and Table B and C are a foreign keys to Table A. says: Table A = A_id, A_fname, B_id, C_id Table B = B_id, B_add, B_pcode Table C …

Member Avatar for futhonguy
0
190
Member Avatar for Phil++

That I can get the street name from a post code in PHP? For example, someone enters their post code and it comes up with the street name rather than them having to type the whole thing out? Please help

Member Avatar for almostbob
0
154
Member Avatar for Arianna

Just so you know, I'm a PHP beginner, so I won't understand complicated stuff or anything of the like. xP I've started to make a part of my website (may I link to it, or should I just post the code) and I'm pretty happy with it. A user can …

Member Avatar for Arianna
0
286
Member Avatar for scottholmes

I have a snippet of code, thus: [CODE]$match |= in_array($type, $types);[/CODE] but I am unfamiliar with the |= expression and have been unable to find it in the PHP manuals.

Member Avatar for scottholmes
0
78
Member Avatar for Bhuddha

I have an issue. My form/submitform, isn't breaking/spacing, the information its emailing me.. I've tried everything I can, and for some reason, its still not doing it, anyone have a solution? I've been researching for 3 days trying to find answers, I've tried the answers shown online, and none have …

Member Avatar for Bhuddha
0
88
Member Avatar for tmv105

Can someone help me store a string that has an apostrophe within it? I thought that using [B]mysql_real_escape_string[/B] was supposed to add a slash when retrieving, but remove the slash before storing. Here is a portion of my code and then also the result of the data after it is …

Member Avatar for Atli
0
129
Member Avatar for web3

I made star voting script and i was wondering how to display average result?

Member Avatar for mattsmomdotcom
0
77
Member Avatar for tobisan

Hi there. Im pretty new to PHP and have made a terrible mistake, Im getting this message Parse error: syntax error, unexpected T_STRING ......functions.php on line 2 the site workd fine but failed once Ive tried to add a sidebar, Ive tried to replace the function.php code Ive just eddited …

Member Avatar for tobisan
0
453
Member Avatar for muralibobby2015

hi, i am doing mailing concept in php. In this admin side admin send mails to users with attached files. but i wrote normal code for email without attachments. how to write code for attachfiles.

Member Avatar for muralibobby2015
0
102
Member Avatar for lydia21

hi, i want to implement paging concept in php with mysql.i tried lot of code.....the page next,prev links at the bottom which is used to move to and fro is not working please do give a code for paging........

Member Avatar for farrukh1
0
147
Member Avatar for muralibobby2015

hi, i heared at some where.....using .js files in our script webpage disturbs a lot....i mean webpage loads slowly...is it write or wrong?

Member Avatar for network18
-3
71
Member Avatar for phpbeginners

Is there anyway so that i can make my dll and put my functions in dll and then access them so it protects my function source code.

Member Avatar for network18
0
112
Member Avatar for shishtawitch

hi, my problem is, that i want to access my root folder as subdomain using php or htaccess..........!! i.e if i have a folder like => [url]http://www.mydomain.com/folder[/url] should be automatically changed to => [url]http://folder.mydomain.com[/url] i have cpanel hosting accounting not reseller.........!!

Member Avatar for network18
0
80
Member Avatar for muralibobby2015

[CODE] <?php ob_start(); extract($_REQUEST); extract($_POST); session_start(); $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } $db=mysql_select_db('murali',$con); $message = ''; $error = array(); $select=mysql_query("select * from registration where username='$_REQUEST[username]'"); $taken_usernames=mysql_fetch_array($select); // main submit logic if (@$_REQUEST['action'] == 'register') { $resp = check_username($_REQUEST['username']); if ($resp['ok']) { $message = …

Member Avatar for venkat0904
0
124

The End.