39,320 Topics

Member Avatar for
Member Avatar for Aksel

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 …

Member Avatar for diafol
0
4K
Member Avatar for vizz

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.

Member Avatar for ravikc
0
160
Member Avatar for ibivobarn

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 …

Member Avatar for ibivobarn
0
376
Member Avatar for Buppy

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

Member Avatar for pritaeas
0
43
Member Avatar for vlowe

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 …

Member Avatar for karthik_ppts
0
226
Member Avatar for vibhaJ

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 …

Member Avatar for vibhaJ
0
211
Member Avatar for sevann12

Why the drupal blocks are disappearing after submitting the form? Why the drupal blocks are disappearing after submitting the form?

0
42
Member Avatar for mary_forum

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

Member Avatar for urtrivedi
0
229
Member Avatar for klemme

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 …

Member Avatar for tiggsy
0
282
Member Avatar for zulfistyle

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....!!

Member Avatar for vibhaJ
0
94
Member Avatar for vibhaJ

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 …

Member Avatar for vibhaJ
0
131
Member Avatar for vibhaJ

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 …

Member Avatar for vibhaJ
0
1K
Member Avatar for vibhaJ

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

Member Avatar for vibhaJ
0
295
Member Avatar for decade

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 …

Member Avatar for decade
0
141
Member Avatar for marloagapay

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 …

Member Avatar for decade
0
200
Member Avatar for Pann Ei

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 ?

Member Avatar for karthik_ppts
0
51
Member Avatar for aecha

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: ' . …

Member Avatar for karthik_ppts
0
129
Member Avatar for asif49

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 …

Member Avatar for asif49
0
85
Member Avatar for p627

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!

Member Avatar for MagicMedia
0
86
Member Avatar for cliffcc

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?

Member Avatar for najanan.nehul
0
94
Member Avatar for Morta

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 …

Member Avatar for Morta
0
85
Member Avatar for hawx

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) …

Member Avatar for Morta
0
109
Member Avatar for jacksantho

hi, [CODE]print "<tr><td><b>click</b></td><td><a href=test.php?id=$id&code=$pcode&name=$pname&section=$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 …

Member Avatar for Morta
0
152
Member Avatar for Virangya

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?

Member Avatar for chrishea
0
158
Member Avatar for jenberden

Hello! using php....How to delete records on the database and how to update.? Thanh you....

Member Avatar for diafol
0
70
Member Avatar for 54uydf

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&parameter2=value"></a> but I'm not comfortable with it. 1. because it makes me uneasy that everyone can see the url and understand …

Member Avatar for MagicMedia
0
145
Member Avatar for lobebe

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, …

Member Avatar for MagicMedia
0
85
Member Avatar for Virangya

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. …

Member Avatar for diafol
0
393
Member Avatar for Shizuo

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 …

Member Avatar for diafol
0
527
Member Avatar for shujat132

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 …

Member Avatar for shujat132
0
221

The End.