39,317 Topics

Member Avatar for
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
428
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
181
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
155
Member Avatar for nats01282

Hello im creating a small social network from scratch and struggling with the newsfeed i have the newsfeed loaded through ajax then page loaded remotly i have a timeago jquery script and the timeago script is not working, but when i get rid of the ajax auto refresh and use …

Member Avatar for ko ko
0
189
Member Avatar for mr3k

Hello! I've been stuck with this for a while now. First I want to say that this is a school project and not something illegal bet site. The first MySQL table have results from games and the other table contains users bets on different games.. My problem is that I …

Member Avatar for diafol
0
110
Member Avatar for avocado_juice

Hello, I want to ask.. I have a website which is fine to be opened using any other browsers except IE7. In IE7, some of the functions do not work well. I tried using IE8 and it worked fine. Anybody knows the solution? Thank you

Member Avatar for almostbob
0
245
Member Avatar for 54uydf

ok here's the thing, I have a table in my DB (courses), and I want to fill it with data about all the courses that my school has. there's another site which has a form that let's people enter the code of the course and when they click "search" it …

Member Avatar for tiggsy
0
123
Member Avatar for mapee

Hello i have a problem with protect from sql injection : the problem is: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in My Old Code (working): [CODE] <?php $currentid= $_GET['id']; $q="select * from tbl_car where id=$currentid"; $result= mysql_query($q); while ($row = mysql_fetch_assoc($result)) {} ?> [/CODE] my …

Member Avatar for diafol
0
932
Member Avatar for Thyvo

Hello, First of all, don't kill if I posted this in the wrong section. I'm trying to find a decent tutorial for the HTML 5 drag and drop upload. I have allready searched hours before but could'nt find a decent tutorial. Basicly what I want is a drag and drop …

Member Avatar for Thyvo
0
136
Member Avatar for l0wr1d3r

Hi everyone. I'm planning on making a video chat page in which people would have to buy something like credits or pay per chat/call and it would be great if you could tell me more about PHP based video chat scripts or other kind of solutions (no need for group …

Member Avatar for chrishea
0
198
Member Avatar for Number1awa

Hey, I am having trouble sending a javascript variable to php at the moment. I have div's which have id's on them then when I click on them I have it as onclick="getId(id)" Then this is the code which is not working of course in sending the id to the …

Member Avatar for diafol
0
115
Member Avatar for bangla

Hi, below codes give me underline of every link. How can i remove the underlines? <table align="center" width="27%" border=0 bordercolor="#FF0000" > <tr><td> <A HREF="#TaxFile">NY Multi Service -Taxfile, Accounting, Auditing,..</A></td> </tr> <tr><td> <A HREF="#VA">VA Multi Service -Taxfile, Accounting, Auditing,..</A></td> </tr> <tr><td> <A HREF="#Insurance">Insurance in USA</A></td> </tr> <tr><td> <A HREF="#TaxFile">NY Multi Service …

Member Avatar for bangla
-1
100
Member Avatar for cuonic

Hi, I'm having a little problem with a password Reset Script I've made The script sends you a reset hash to your email to confirm that you requested the password reset. This resethash is just a random string with letters and numbers that is 15 chars long Problem is, when …

Member Avatar for almostbob
0
330
Member Avatar for Misklahr

Hi! Is there any way to remove a file from a directory when a session ends? (Like when a user closes the webbrowser)

Member Avatar for Misklahr
0
380
Member Avatar for ernest1a

I am wondering if anybody have developed activeCollab module. I am getting a problem with a module that I am developing it. The problem is that this module needs to change on instalation some default creativeCollab view files. For instance, our company has developed a module which adds new date …

0
54
Member Avatar for petmol

Hi all, I am a PHP noob, so please bear with me if you find my posts here slightly on the moronic side... :) Anyway, I have a problem with the page quoted below. Dreamweaver says there's something wrong with line 188, but I just can't figure it out. Thanks …

Member Avatar for petmol
0
143
Member Avatar for thebigbroski

I'm reading Headfirst PHP & MYSQL. I did what the book asked me to do, and this is the output in the browser: [CODE] Aliens Abducted Me - Report an Abduction '; echo 'You were abducted ' . $when_it_happened; echo ' and were gone for ' . $how_long . ' …

Member Avatar for jonhylever
0
226

The End.