- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
49 Posted Topics
[QUOTE=gagan22;824716]Thanks for reply, ya sure i will tell u where i am using this. $loginId=$_REQUEST[user]; $password=$_REQUEST[password]; $_SESSION["userId"]=$loginId; this is working well on this page in IE and mozilla Firefox But when i am calling this another page $_SESSION["userId"] in IE this is working well and but not in FireFox. What …
Hi Praveen... This is great.... I want some clarity about this video playing... Can u send me the two php files with data base table....because the above two files are not matching with their column names...i am confusing....plz send me clearly with patiencs... Thank u..
[QUOTE=ditty;822050]i have a long string which contains a url. I want to extract that url from that particular string. Please help me.[/QUOTE] Hi ditty.... U can extract by using this way.... 1) by using EXPLODE function 2)by using SPLIT function... eg: [CODE] $url="http://[email protected]"; list(first,second)=split("@",$url,2) echo $second; [/CODE] or [CODE] $a=explode('@',$url); …
Hi frnds.... i need Javascript Validations...these validations by using [B]onchange or onblur[/B] events..i mean when focus out from a textbox or any field then immediatley shows the error msg and focus will be at error field(not after submitting the form)..i want error immediatley focus out from the field...plz provide 4 …
hi, how can i access the .htaccess file. i have been created a .htaccess file and write the code wat i want. this is working fine when i should type url with correct formate which i mention in the .htaccess file. i want to redirect page automatically.. plz give me …
[QUOTE=verruckt24;819178]Then such people aren't worthy of telling anything at all. Because this community attempts to nurture an environment that makes people learn while helping them. Giving away readymade answers just because someone would not like you telling him "go-read-the-manual", isn't the right approach. And if you feel that your time …
hi frnds... i need to find the users visiting page in my website? basically i m doing project on Music player...i need to find user listening which movie songs ? give me some suggestions plz....how to do that?
hi frnd... i want to remove/disable ADDRESS BAR from the new pop up window... now i m using this code....its working only for IE6..... [CODE]window.open(url ,'title', 'location=1,menubar=no,resizable=no,scrollbars=no,status=no ,toolbar=no,width=300,height=200')[/CODE] Also i want to remove expand button in browser...plz tell me how can i do it... Thanks in advance...
Hi, now i m working for musical website... here my problem is how can i create a playlist and how to pass the selected songs to my player.... i dont have any idea regarding this.. plz give me JAVASCRIPT, php code ... plz give me some suggestions...sorry for asking code..but …
Hi frnds... here i am getting some error...plz check this one... these are the two files regarding my code...[B] thumbnail.php[/B] [CODE]<?php class thumbnail { var $img; function thumbnail($imgfile) { //detect image format $this->img["format"]=ereg_replace(".*\.(.*)$","\\1",$imgfile); $this->img["format"]=strtoupper($this->img["format"]); if (strtoupper($this->img["format"])=="JPG" || strtoupper($this->img["format"])=="JPEG") { //JPEG $this->img["format"]="JPEG"; $this->img["src"] = imagecreatefromjpeg($imgfile); } elseif ($this->img["format"]=="PNG") { //PNG $this->img["format"]="PNG"; …
Hi frnds... here i am confusing a lot..lot...from last 4 days i am struggling here...plz solve this problem aeap with patience.... This is my code for uploading images to my folder and db table...now, all images are blur at my user side...so, i need to create THUMBNAIL images for every …
Hi frnds... i have some problem regarding uploading a s/w when hosting a website... here i am doing project like stock market news...in this i had a software for updating share prices per every seconds.... where and how can i install software on my hosting panel?
hi frnds... i want to know something about php.ini.. what r the regular changes in this file..and functions regarding that changes..plz provide interview tips regarding [B].htacess file and php.ini [/B]file thanks...
Hi frnds... i am trying to know something about Url Rewriting..here i need to load [B]mod_rewrite[/B] module...where can i get this.. In this i saw a point as Open the [B]httpd.conf[/B] file and uncomment the following lines (remove the trailing #s): [CODE]#LoadModule rewrite_module modules/mod_rewrite.so #AddModule mod_rewrite.c[/CODE]... But in my http.conf …
[QUOTE=jayb;831244]hello everyone , I am beginner in PHP, I have a problem , I have a login page (login.php), where user can enter some necessary information ,after submiting ...it goes to another php page(submit.php) and do something there , ... however on that submit.php it perform some business logic validation …
hi..plz dont repeat that same thread.. last 2 threads related to urs...i already send some info regarding this...first try to do that...or think is there any other way? try to do by using sessions...
[QUOTE=prawin@123;828119]Hi cwarn23, Thanks for u reply. but i am unable to understand what u r tying to say. Any u xplain me a lot.[/QUOTE] @Prawin: May be its single quotes problme or string problem.. can u send ur Sql Query.... Try to echo ur query..
[QUOTE=nmakkena;826655]My system is a stand alone system, I want to connect to MYSQL using PHP, I am giving hostname as localhost, and the needed username and passoword. In the browser i am getting Internal server error 500. Any sort of help much appreciated, Thank you[/QUOTE] hi.. check the database name …
[QUOTE=madristaa;824637]Hello friends i need help with onclick and onsubmit events At the bottom of my page I have two button 1)save 2)submit. When the user click on save button it will go to save_button.php page When the user click on submit button it will go to submit_button.php but It will …
[QUOTE=kkeith29;822016]actually you can upload files to the database, but its better to save them on the server.[/QUOTE] Hi this is the code for uploading files or images....if u want specific formates plz go to other codes... here first u create folder for uploading images.....in this example code i created news …
[QUOTE=prawin@123;822094]Hello nav33n, Thanks For UR Reply , but No RESULT ,Same as of BEFORE .[/QUOTE] hi can u check the $filename extention.....extention is there or not?
[QUOTE=kevin wood;821441]i am trying to get this code to work but there is something wrong with the array (not to good at these). the main part of the code works it is sending out the email but only ever to one registered user. Hi.. i dont know the exact solution....but, …
Hi.. i didnt get u...whats the problem here...have u got any error? plz note it...
[QUOTE=babyfrostie;821425]hello, how can I display a data (ex. course) in a drop-down list whenever I add a data? thanks![/QUOTE] hi... from database? or any other way? can u explain be detail? from data base, u can get this way..... [CODE] $course="aaaaa"; //example... <select name="course" title="course" value="<?php echo $course; ?>" > …
[QUOTE=pritaeas;821312][code=php] <?php $result = mysql_query('SELECT MAX(mailer_id),email FROM mailer_directory')or exit(mysql_error()); $row = mysql_fetch_assoc($result); echo 'the max mailer_id is ' . $row['email']; ?> [/code] or: [code=php] <?php $result = mysql_query('SELECT email FROM mailer_directory ORDER BY mailer_id DESC LIMIT 1')or exit(mysql_error()); $row = mysql_fetch_assoc($result); echo 'the max mailer_id is ' . $row['email']; ?> …
[QUOTE=johnkhan;821401]I'm not very good at MySQL stuff, so I need a little help with a problem I'm having. I'm trying to make a script that will open up a text file and print the contents of the list onto the screen. Additionally I wanted the contents of the file (a.k.a. …
> hi > i design a php event calendar > > but it showing some error, anyone check it plz.. > > `Parse error: syntax error, unexpected T_ELSE in W:\www\Calendar-php\admin\calAdd.php on line 149` <html> <head> <title>Calendar: Add</title> <META HTTP-EQUIV="refresh" content="1;URL=../calendar.php"> <LINK rel="stylesheet" type="text/css" name="style" href="../calendar.css"> </head> <body bgcolor="#FFFFFF" text="#000000"> <?php …
Hi ... i need to inserting around 20 values...which method is best in ajax post or get..i dont know abt ajax..plz send me ajax registration or small form (which having inserting records into db) ...i can learn by using this.... Thank u..
[QUOTE=aamresh1;820309]We have integrated Paypal with our application and everything is working perfectly. But after the transaction is completed and successful we need that it should redirect to our application again. But its not happening. We have turned on the auto return option in the paypal too but its still not …
[QUOTE=cwarn23;820173]If you are talking about the line number the die() function is used on then the following is an alternative die function that will show the line number. [CODE=php]function dieline($stringz) { $dataz=file_get_contents(basename($_SERVER['PHP_SELF'])); $datazz=explode($stringz,$dataz); $rowz=substr_count($datazz[0], ' '); //must start at beginning of line die ('<b>Error Line number '.$rowz.'</b><br>'.$stringz); } //now to …
[QUOTE=quill2;820096]Thanks! It turns out I needed to specify MemberName in the SELECT area, since the column is in both tables. It should have been: [code=php] $sql = "SELECT t_Members.MemberName, FirstName, LastName, Website, Location, Timezone, Bio FROM t_Members, t_MemberBio WHERE t_Members.MemberName=t_MemberBio.MemberName ORDER BY t_Members.MemberName ASC"; [/code][/QUOTE] hi..once try to use table …
[QUOTE=prawin@123;820243]Hi any one please solve this, I am new to php, i displayed the datas from db , via select , whats the problem i got is , i didnt got the first entry of the database , But it displays Rest of the elements in db. Here is the …
Hi frnds... I need to integrate php variable with vedio scripting file..... i fetch my vedio file path from database...here i need to replace the file=[B]videos/movieimgae.swf[/B] ....with $vedio.. [CODE] <?php $vedio="vedios/aaa.php"; ?> <SCRIPT type=text/javascript> var s1 = new SWFObject('player.swf','player','400','300','9'); s1.addParam('allowfullscreen','true'); s1.addParam('allowscriptaccess','always'); s1.addParam('flashvars','file=[B]videos/movieimgae.swf[/B]'); s1.write('preview'); </SCRIPT>[/CODE]
Hi.... here i am using ONCHANGE event to select box....i dont know is it useful or not?? just i am trying to help u.... [CODE] <script language="javascript"> function switchProduct() { if(window.document.formname.selectboxname.options.selectedIndex!=0) window.location=window.document.formname.selectboxname.options[window.document.form1.category.options.selectedIndex].value } </script> [/CODE] [CODE] <?php include("config.php"); $category=$_GET['selectboxname']; switch($category) { case "1": $c="1"; break; case "2": $c="2"; break; case …
HI... this ia not an error...but, if u can replace all the above notices.. you have to put some code at the top of ur php page.... [B]<?php error_reporting(E_ALLL^E_NOTICE); ?>[/B] yesterday somebody told about this one...try to do it..
[QUOTE=rohnni;814524]it will not show all html forms output....[/QUOTE] Hi rohnni.... whats ur problem? this is not good....if u have any doubts, discuss on ur related post..don't involve other threads...plz dont repeat this...i think [B]u posted your thread already two times[/B]...plz put ur code in code tags([B]#[/B])..
Hi frnds.... I need payment gateways code... i have just basic idea about paypal...i dont know abt code for gateways..here my requirement is it should access all creditcards payments with secure..... i dont know the code is in php or any other way...plz give me some idea abt this...i need …
[QUOTE=evstevemd;812936]Can someone clarify me the difference between CHAR and VCHAR and which one is best to be default type in my all SQL queries? Is it VCHAR or CHAR? :D[/QUOTE] Varchar is the best option what i know...because char is fixed length...but varchar is automatically change size based on the …
Hi frnds.... I have a page with different topics and explanations.... the total description in a single page..and all headlines at one place... now iam clicking on nth headline, than the page shows that nth topic description location... plz tell me how can i do that?
[QUOTE=queenc;812090]hi If the user changes his photo i want the [B]else[/B] to work.if u the does not change his old photo i want the [B]if[/B] to work.but my below code is not working like that....only the if part is working[CODE] if(isset($_REQUEST["update"])) { $uploadedfile=$_REQUEST['uploadingfile']; $upload="comphoto"."/". $_FILES['uploadingfile']['name']; $filename=$_FILES['uploadingfile']['name']; echo $filename; move_uploaded_file($_FILES['uploadingfile']['tmp_name'],$upload); if($filename!="NULL" …
Hi frnds.... i have a colmn in database like [B]CONTENT[/B] ..it contains 20 lines of of data....but i need to select only 5 lines of data to a single variable...... plz tell me how can i do?
Hi frnds.... i am inserting bulk data into database...here i phase small problem...when the data having (') single quotes it shows error...because php takes ' as many ways..... i think htmlentites() tag is there in php...i dont know how it uses perfectlyy... plz resolve this problem asap..
Hi.... try to check this below code... [CODE] <?php ob_start(); session_start(); if((isset($_POST['username'])&&$_POST['username']!="")&&(isset($_POST['password'])&&$_POST['password']!="")){ $error=''; require_once('../includes/config.php'); $conn = mysql_connect(SQL_HOST, SQL_USER, SQL_PASS) or die('Could not connect to MySQL database. ' . mysql_error()); mysql_select_db(SQL_DB,$conn); $query = "SELECT COUNT(username) AS record FROM admin WHERE username ='" . $_POST['username']."' AND password = '".$_POST['password']."'"; $result = mysql_query($query); …
Hi frnds... i have been successfully uploaded videos to uploads folder through db... now i need to play that videos ....plz provide code for this one....presently ineed mediaplayer format... i got the video path....after i dont know how do that...is there any script to run videos.... plz help me asap...
[QUOTE=cwarn23;806738]Try placing the following at the top of your php file(s) that process the uploads: [CODE=php]ini_set ('upload_max_filesize','10M');[/CODE] That should allow the server to accept 10 Megabyte files and is the most common solution for this problem from previous posts of simular/same problems on these forums. Let me know if you …
Hi fnds... i am doing polling system to a perticular topic. i want to display yes/ no results in progressbar, after submittimg user vote(yes/ no) from radio buttons.... everything i can do, but the only problem is display results in progress bar.... plz give me a suggetions....how can i do....
Hi frnds... i need to select only fixed no.of records from my db table... table having 100 records... i need to select recent 10 records based on id .... plz tell me whats the logic in this....
Hi frnds... I have some doubts regarding this PHP... 1)i need to display an add in between two pages.....i.e. when i post data from 1st page to 2nd page than, i want to display an add before redirecting the 2nd page...by using PHP or JavaScript... 2)Can we pass input value …
Hi frnds.... i am working on file handling.. I need to display text from my file... here i got everything, but the alighnment is totally looks like notepad...i want to display same clarity(styles) which my original file having... plz give me any solutions asap.. Thanks & Regards..
The End.
ahmksssv