38,020 Topics

Member Avatar for
Member Avatar for alexia_net

Hi. I have a page with 3 frames. One on the left, one up as a title and the main one which takes most of the page. On the left frame i have some radio buttons. What I want to do is to open / load a page in the …

Member Avatar for alexia_net
0
132
Member Avatar for quecoder

At any forum , you can see if a specific member is online or offline, or generally , how can I detect online visitors accurately who are visiting my website at the moment ... Thanks in advance

Member Avatar for diafol
0
130
Member Avatar for pjrey

what is going on? [url]http://naniboujou.com/retreat.php[/url] if you scroll down there is an iframe that is pulling in [url]http://naniboujou.com/contact/retreat.php[/url] everything was just fine a couple weeks ago.. no i notice it is pulling in the index page.. i dont know what changed.. wasn't anything on my end... if you load the …

Member Avatar for diafol
0
128
Member Avatar for clairet

How to prevent form hijacking in PHP? How would you initialize your strings with single quotes or double quotes? [removed link]

Member Avatar for vibhaJ
0
97
Member Avatar for dhruv_arora

hey i just started learning php programming, i wrote this code, although the HTML code and forms and everything is working but when i click on submit nothing happens. the code :- [CODE]<?php include("header.html"); include("nav.html"); include("sidebars.html"); ?> <?php if(isset($_POST['submitted'])) { if((isset($_POST['name']))&&(isset($_POST['school']))&&(isset($_POST['marks']))&&(isset($_POST['sex']))) { if($_POST['marks']>=80) $grade='A'; else if(($_POST['marks']>=70)&&($_POST['marks']<80)) $grade='B'; else if(($_POST['marks']<70)&&($_POST['marks']>=60)) $grade='C'; …

Member Avatar for dhruv_arora
0
132
Member Avatar for imtired

Hi everyone, I am trying to develop a .html page with PHP in it but when I view the source code it does not show anything below the first function call. Below is an example of the html source when it is viewed from a browser (FF4): [CODE] <!DOCTYPE html> …

Member Avatar for ifiok.idiang
0
5K
Member Avatar for karthik_ppts

Hi Frendz, How to check whether the given point(latitude,longitude) is in polyline or not using php? I have set of latitude and longitude points of polyline in my database.

Member Avatar for Narue
0
174
Member Avatar for bangla

Hi, I have a web site written in html/php. I can view the site in Internet Explorer just fine. But I have problem in firefox. When i view in FF, site is a mess. Columns shift left to middle, overlapping, much more. Pls advise. Thanks.

Member Avatar for almostbob
0
212
Member Avatar for scilec

Hi, I've been teaching myself php out of necessity for a web project at work and I've run into a situation in which I currently have three different php pages that are used to display three different data grids. However, most of the code is the same, aside from the …

Member Avatar for scilec
0
163
Member Avatar for saravanan@daniw

Passing value HI I have multiple row with hyperlink which is loop , when i click first row link ,a first row data has to retrive in the next page text box. Any idea from anyone. The example Page: Here when i click apply it has [url]http://recruitment.focusdev.co.uk/en/vacancies[/url]

Member Avatar for karthik_ppts
0
72
Member Avatar for unversity top

can anyone help me with php code for my form ? <table border="0" align="left" cellpadding="2" cellspacing="0" bgcolor="transparent" style="text-align:left;"> <tr> <td style="" colspan="2"> <span style="text-align: left"><font face="Verdana" size="2" color="#000000"><b style="font-size:20px;">Contact Form</b></font><font face="Verdana" size="2" color="#000000"></font><font face="Verdana" size="2" color="#000000"></font></span><span style="text-align: left"><font face="Verdana" size="2" color="#000000"></font></span><font face="Verdana" size="2" color="#000000"><br /> <br /></font> </td> </tr> <tr …

Member Avatar for karthik_ppts
0
172
Member Avatar for psyb0rg

I'm trying to upload a file to a remote server using curl. The server requires that the file contents should be in the post body and the file name should be in the header. This is the code I', using : [CODE] $fp = fopen($fileLocation, "r"); $ch = curl_init(); curl_setopt($ch, …

Member Avatar for gieseni
0
1K
Member Avatar for iau

I am quite new in php and I wonder is it possible to create a textbox inside a button? I wish the button consist of a textbox inside its value. Anyone can help me??

Member Avatar for jonadams51
0
98
Member Avatar for abhi10kumar

I want use checkbox's value, but I have a problem. I am not submitting the form, using AJAX records are changing. When I click checkbox, courses checkbox value changes, and if I uncheck checkbox the courses combobox will be same as before. My page have pagination, now I have problem, …

Member Avatar for twiss
0
1K
Member Avatar for peter_carlos

I am using : appache 2.2.11 php :5.3.0 MySql 5.1.36 The problem is that I am there are some script not working nether on IE8 nor on firefox 4 in offline But these scripts are working fine on IE 8 using online !! And these scripts work offline on other …

Member Avatar for peter_carlos
0
427
Member Avatar for masterjiraya

I have two files here.... index.html and postback.php index.html [CODE=HTML] <html> <head> <script type="text/javascript"> function showUser(str) { if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && …

Member Avatar for masterjiraya
0
172
Member Avatar for Kawaljeet Kaur

hello to all,its kawaljeet here.. can anybody help me to solve that how can a session be expired in php,i.e.wat is the syntax used to expire a session in php file... pls help me...thanks

Member Avatar for EmilyJohnson
0
246
Member Avatar for mangel.murti

hi all i have a login form after validation it redirect to other domain what i want if that user is valid then on other domain (website) it should be auto login? can i fire submit button click from my domain to other domain tnx

Member Avatar for urtrivedi
0
116
Member Avatar for stockstalker

If you are one of the odd balls out there who puts all of your PHP code into the index.php file (I hate having to navigation thru dozens of separate files), will you run into performance problems if your file has over 10,000 lines of code? (The web server's cache …

Member Avatar for diafol
0
55
Member Avatar for NuGG

I have the following code witch is used to display HTML from an XML file. The XML file itself comes from a form POST where a "\" is added in after various HTML tags. Is there anyway I can modify the script below to hide/remove the "\" when the XML …

Member Avatar for ko ko
0
1K
Member Avatar for Doctor Inferno

I currently have a caching problem on my flash site. I have set the htaccess file to: [CODE]Header set Cache-Control "no-cache"[/CODE] But when I refresh the page, the images on the flash site still shows the old one from the cache. I also tried setting max age to 1, and …

Member Avatar for twiss
0
90
Member Avatar for kiran33

for ($rows = 0; $rows < $totrow; $rows++) { echo "<tr>"; { echo "<td width=7% align=center bgcolor=#D4BFFF >" .$sr; echo "</td>"; ?> <td width=40%> <select name="book<?php echo $sr;?>" style="width:80%"> <option value="-1">-----Select Book-----</option> <?php $qr_title=mysql_query("select * from book where Dels='N' order by Bk_nm asc"); while($row_title=mysql_fetch_array($qr_title)) { ?><option value="<?php echo $row_title['Bk_id'];?>"<?php if($row_title['Bk_id']==$ad) …

Member Avatar for twiss
0
97
Member Avatar for rpv_sen

Hi Friends I am trying to get the value of select dropdown item in a text box, but i am unable to get it. I am using ajax for dropdowm method. please any one can help one.php [CODE]<?php session_start(); include("config.php"); // Check, if username session is NOT set then this …

Member Avatar for twiss
0
1K
Member Avatar for sajidk25

hi every one, I m tring to make on webapplication with PHP and MSSQL2005.This simple website has some report and chart those r dynamically update from my MSSQL db.I m using fusion chart free for charting. I have used this codes for report.[CODE]<?php include('DBConn.php'); include("FusionCharts_Gen.php"); $link = connectToDB(); $stmt=mssql_init("AreaWiseMonthlyRpt", $link); …

Member Avatar for urtrivedi
0
242
Member Avatar for satsum

[CODE]//===============Castle Siege Time==================== $castlesiege="16 AM"; //=============END Castle Siege Time=================== //=============SERVER EVENTS AND TIPS============ //Events $event1='Drop Event Today'; $event2='Find GM in Lorenica'; $event3='Race with unila in Lorencia'; //Tips $tips1='Server experience changed'; $tips2='New spots have been add'; $tips3='New items at lorencia bar'; //===========END SERVER EVENTS AND TIPS========== //=======POLL PASSWORD==== //Require when you …

Member Avatar for urtrivedi
0
562
Member Avatar for bob on whidbey

The OwnerName field in the Catalog table exactly matches the Name field in the Owner table, which is that table's primary key. My select statement select Catalog.*,Owner.* from Catalog, Owner where Authors like "%jam%" and Catalog.OwnerName=Owner.Name order by Title limit 0,100 I use {$num_rows = mysqli_num_rows($result); to get my results. …

Member Avatar for diafol
0
92
Member Avatar for prem2

Dear team, How to get the process id for the particular file in php? for example ============ To get the process id in linux we use ps -ef | grep "message.php" Thank you, With Regards, Prem

Member Avatar for prem2
0
108
Member Avatar for Yemen Coder

hi guys i have a small question about < form action='' > what is difference between [CODE]<form action='$SERVER['PHP_SELF'] >[/CODE] and [CODE]<form action='<? echo htmlspecialchars($_SERVER['PHP_SELF'); ?> ' >[/CODE] if this way [CODE]action='<? echo htmlspecialchars($_SERVER['PHP_SELF'); ?> ' [/CODE] have benefit in security ! i wait any idea Thanks a lot

Member Avatar for Yemen Coder
0
146
Member Avatar for vanpersie

Hi I have a code that should:- if the number entered more than 60 the following should be printed "Congrats!!!<p>" "Grade1" if the number entered between 60 and 40 the following should be printed "Grade2" else the script should print "fail" but the code print fail all times can someone …

Member Avatar for ko ko
0
370
Member Avatar for klemme

Hi, Can someone lead me in the right direction on how to write a preg_match. I have username and password in the DB. And the username should be case sensitive, accordingly to whatever is in the db. And it should only be able to contain numbers and letters. I have …

Member Avatar for blocblue
0
154

The End.