39,320 Topics
| |
I've got a variable which contains a string which can contain html. I'm trying to find a way to check the string if it contains a <img>-tag, and if so..validate that it has a valid file.exstension. (jpg | png | gif). If an img tag is located and HAS a … | |
I am not getting how to display stored database in MLM format? I have attached problem and desired answer images Database fields are : id new_id, name I want to display all members under member 1 all or one of that may be having member under itself. | |
OK, first off let me say that I know that javascript is a client side language and that php is a server side language. I've read that you can't assign javascript variables to php variables too. But I'm still absolutely stumped as to WHY my code below doesn't work. Perhaps … | |
Hi, I have a binary data (for example, from a jpg image). Is it possible to display the binary data as image without putting it in file? Thanks | |
Im still trying to work this one out but what i would like to do is send an email if an alert is present. but not resend the email on every page refresh where the alert is still present. so i was thinking of using something like $_SESSION['sent_time'] to record … | |
Hi Friends, I am working on php from builder, where user can add text-box, text-area, chekbox, radio-button etc field using jQuery. Now i am ready with html code of form. Next step is to save each attributes(i.e. name, optionstags, label, title, tooltip, class etc) in mysql database. How can i … | |
Why the drupal blocks are disappearing after submitting the form? Why the drupal blocks are disappearing after submitting the form? | |
frieds i just want the calculation for dividing money equally for all distributors.the first level distributor will get half of the amount and remaining distributors will divide it equally. i want this calculation in php.. can anyone help me | |
On my site when a link is clicked, the adress bar in the browser shows this URL: [CODE] http://www.enkelt-webdesign.dk/index.php?sid=1&titel=FORSIDE [/CODE] I would lke the URL to appear like this: [B][url]http://www.enkelt-webdesign.dk/Forside[/url][/B] I have this code in my .htacess file which is not working as it is: [CODE] <ifModule mod_rewrite.c> RewriteEngine on … | |
hi me is new in web development field.. plz any body told me about the script with the help of which i send image in my email....!! | |
I have one index.php file that is on abc.com server. Here in index file i have frameset and src of that is : 'http://www.xyz.com/login.php' All my php files are on xyz.com. What i am having problem is when user open url : abc.com And they get login page. they are … | |
Hello All, I wand Firefox to remember my password when i login in phpmyadmin. But Firefox doesn't ask me to 'Remember password'. When i inspect phpmyadmin form using developer tool, i done see any trick. Secondly i also want in my website coding that when user log in Firefox don't … | |
Hi Pals, I am using filezilla and i heard that it causes virus attacks on my website. I am also not saving password in site manager rather using quick connect. From some days m using core FTP. What do you guys think. What is secure way? Regards, Vibha | |
can somebody or someone teach me how to deal this warning: Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting … | |
hello am a newbie sad to say but i got a big problem regarding to the auto increment. i use innoDB for storage but somethinggoes wrong! i dont know why. whenever i input new data (such as name add and tel, member ID should increment by one) there is no … | |
My table structure ! [U] tblmodel[/U] -[B]fldmodelid[/B] -fldmodelname [U]tblcardetail[/U] -fldcardetailid -[B]fldmodelid[/B] -flddefaultphoto When I delete fldmodelid,i want to delete automatic tblcardetail.flddefaultphoto.Now i can delete in database.but.. the folder(../upload) that have photos.. i cann't delete that photos.. how to write unlink function!at another page ? | |
Hi! I am new here. I am new in php too.. Can somebody help me in solve this error? I can go to the page that but cannot call the data from the database. This is my code: [CODE]<?php $con = mysql_connect("localhost","root","root"); if (!$con) { die('Could not connect: ' . … | |
So I found a small flaw in the comment system I've made. When someone presses enter while typing a comment and puts in a new line, it doesn't show when the comment is gotten from the mysql database. I don't have any "if (new line within comment, add newline to … | |
Hello everyone.. if 1 user post with ip: 100.122.312.56 then need to wait 5 minutes to post again. can anyone make that script to wait 5 min. after have click sumbit button? thx in advance! | |
I have a search engine in the php, i have pressed search button to do searching. I want to have addition function - just pressing the "Enter" can also do the searching instead of search button. What is the code? | |
HI members,i'm newer here ,i prepare research about secure data exchanging between client side(JavaScript) and server side(PHP) of the web by implementing RSA Encryption system . I found RSA implementation by JS , i search about server side (php) but i find not useful php scripts ... So ...I need … | |
I have created a recursive function to get parent products of a product. I'm almost sure I'm nearly there, but need help snapping out of recursion. The result I am looking for is something like: Product 1 (id:1, parent:none) --- Product 2 (id:2, parent:1) --- --- Product 3 (id:3, parent:2) … | |
hi, [CODE]print "<tr><td><b>click</b></td><td><a href=test.php?id=$id&code=$pcode&name=$pname§ion=$psection target=\"_blank\">Click</a></td></tr>"; [/CODE] I am passing all the values to test.php through hyperlink. Problem is: I can able to get only id and code. $pid=$_REQUEST['id']; // values getting $pcode=$_REQUEST['code']; //values getting $pname=$_REQUEST['name']; // values not getting $psection=$_REQUEST['section]; // values not getting I don't know to find what … | |
hi i want to hide my php code. i don't want any other to view my code and copy it. So is there a way to do this? | |
Hello! using php....How to delete records on the database and how to update.? Thanh you.... | |
I'm pretty new with PHP and I learned how to pass parameters with GET in the beggining and stuck with this way, what I do now is this- <a href="page.php?parameter1=value¶meter2=value"></a> but I'm not comfortable with it. 1. because it makes me uneasy that everyone can see the url and understand … | |
I am working on a site, i have a component which allows movement but i want to change it to dropdown, how can i achieve that? See attached the files:the default file is the code of the page and jpg is example of the page. I will be very grateful, … | |
HI CONSTANTS in my customer site are affecting my admin site. i don't know why. also when i browse for admin site and if index.php file is not available home.php file loads. i find this very weird... can anyone please help me? following is some of the errors it generates. … | |
lest say I have a inputbox in html and I want to compute the answer to ..hmm lets say 1 + 2 - 1 * 6 + 8 / 2 want is the basic function for this? you can just teach me the basics, or advice something . I'm new … | |
Hello seniors, How are you? Well I need you help I am new student of php. Now I am trying to make user login system so that user can login through their password and user name. But I’m receiving this error. “ Fatal error: Cannot redeclare loggedin() (previously declared in … |
The End.