39,326 Topics

Member Avatar for
Member Avatar for clerisy
Member Avatar for vijayram

Hi every one. I make it the following code for profile page.but i click edit profile display onle personal description.dont display . `<?php if($sf_user->hasFlash("notice_change_password")): ?>` this area. plz tell me how to change. <?php use_javascript("location") ?> <?php use_javascript("editProfile") ?> <?php slot("js") ?> <script type="text/javascript"> $(document).ready(function(){ $("#personal_country_id").change(); }); </script> <?php end_slot() …

Member Avatar for diafol
0
97
Member Avatar for geneh23

Hey everyone! So I have a log in script (that someone on here gave me for testing purposes) that logs in based on user_level and I also have a quick login area instead of going to the log in page..on the log in page..when the user doesn't enter any inputs …

Member Avatar for pritaeas
0
109
Member Avatar for sidra 100

hi i m writing a program it is workng fine but doesnot update my database it gives me error since there are 4 query how can i know which one is wrong my part of program is: [CODE] $query2="SELECT * FROM rpms WHERE product_name='$raw_material1'"; $result2=mysql_query($query2) or die(mysql_error()); if ($result2) { …

Member Avatar for baruchM
0
89
Member Avatar for issaru07

been stuck this for the whole day.. need to seek advice from u guys.. it dont seems to work if i login as normal user... but if i log in as admin, it will redirect me to admin-index.php correctly. [CODE] <?php // Array for recording errors: $login_errors = array(); // …

Member Avatar for simplypixie
0
148
Member Avatar for klemme

Hi all, I have been asked to create an API for a website, which I would like to do, but havent done before. Does anyone have a good tutorial on using procedural style php, integrated with REST to make an API work? I have read that REST is really good …

Member Avatar for forkmartin
0
242
Member Avatar for 4cpukid

Hi; I have a mobile script from detectmobilebrowsers.com that will redirect the user to my mobile site however I also wish that when the URL "http://mysite.com/?mobile=no" is entered a session will be created that won't redirect the user on every page of my site... [code=php] $mobile=$_GET['mobile']; if(isset($_SESSION['mobile'])){ if($_SESSION['mobile']==="no"){ complete(); } …

Member Avatar for forkmartin
0
187
Member Avatar for oksam

I am trying to give each MOVIE there own url name, for example, [url]www.helloworld.com/BATMAN[/url]. I have been using mod_rewrite to create such url. I have been using following htaccess code to achieve such result. RewriteEngine ON RewriteCond %(REQUEST_FILENAME) !-d RewriteCond %(REQUEST_FILENAME) !-f RewriteCond %(REQUEST_FILENAME) !-l RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] The …

Member Avatar for oksam
0
298
Member Avatar for mbowler

Hello, I run a service business where employees go to customer homes. I have a Joomla site where registered users (customers) can maintain details about the services they wish us to perform for them. At any point they can login and change these details. I have functions that use TCPDF …

0
69
Member Avatar for chandbasha

Hi I have one sql query. using this query i can download 10 lakhs of data in csv file for 6 hours. now i want to download 20 lakhs of data for 6 hours or less. please tell me how to increase the performance. SELECT id as imp_addr_id,userEmail, email ,name,mobile_no,gender,city,income,profession,experience,country,pincode,type …

Member Avatar for fobos
1
241
Member Avatar for emannoor455

[B]Hi, can anyone help plz? I want to fetch data from database and show in multiple check box value e.g Registration Num of student in 5 checkboxes with different values but really dont get how to do this :( plz anyone provide me easy code in php i will be …

Member Avatar for pzuurveen
0
928
Member Avatar for riahc3

My index.html is: [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title></title> </head> <body> <form action="index.php" method="post" name="uandp"> <input type="text" name="user"><br > <input type="password" name="password"> <input type="submit" value="Go"> </form> </body> </html> [/code] My index.php is: [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <?php session_start(); ?> …

Member Avatar for riahc3
0
133
Member Avatar for wenothat

I Have Decode File That I need I Found It Ofbuscated I Have The Codes I Want To Anyone Help Me With That [CODE]$xBhtml = _obfuscate_DQc7KjMhKzgCMSwmATFbKjM2OSMkFyIÛ’ ( "table.tpl", $ccthemes ); [/CODE] In Function php [CODE] $khtml = _obfuscate_DQc7KjMhKzgCMSwmATFbKjM2OSMkFyIÛ’( "main.tpl", $gthemes ); [/CODE]

Member Avatar for pritaeas
0
106
Member Avatar for huntaz556

I am trying to make a php login script and right now i am trying to make it so that if someone enters the wrong login info it will echo "Wrong username or password please try again" But no matter what i dosent print anything on the screen if i …

Member Avatar for broj1
0
1K
Member Avatar for polinolin

I want to create a voting system where there is a user and admin pages. so when the user has selected, the user can not choose anymore. To the database system checks whether the user has selected or not. I want to use the session between user and admin. and …

Member Avatar for mikulucky
0
63
Member Avatar for issaru07

i having problem and stucked with retrieving like lastnametname. and i am stucked with how do i check if admin=1 will redirect to admin.php if admin=0 will redirect to welcome.php instead. this is the part of my login process script [CODE] $q = "SELECT * FROM members2 WHERE (email='$e' AND …

Member Avatar for mikulucky
0
145
Member Avatar for shea279

anybody know how to read the first 30 seconds of an mp3 file using php, as a preview version of the original mp3?

Member Avatar for stwalcher
0
263
Member Avatar for ItecKid

Hello all, First off, I am not here to debate the merit of storing PDF as a blob in MySQL. I know this is not optimal solution, but this is the requirement that I have to work with. The upload appears to be successful, (Field in the database is filled …

Member Avatar for cereal
0
2K
Member Avatar for accra

Hi, Am building a car sale site.I want to automatically take of listings that are more than, say 14 day old. Any php/mysql scripts or an idea as to how to do this?

Member Avatar for pritaeas
0
77
Member Avatar for showman13

Good Morning Good People... I have a question that I can't seem to find the answer to anywhere, so decided someone in here would know... Simplest explanation... I have a form which has 2 submit buttons... one to accept and one to decline Each of them needs to set the …

Member Avatar for showman13
0
246
Member Avatar for NuGG

I have an array of file names which gets split into 3's using array_chunk, then using array_push "X" is added to each array chunk. I now want to to reassemble the array chunks into one "2D" array. I have been playing around with array_merge, but I can only get the …

Member Avatar for NuGG
0
503
Member Avatar for Waldema

Hi! I've been trying to work on with my very own PHP login script(PHP+MySQL). Managed to get the login part work with cookies. Is there a better way to do it? I was wondering if HTML5 gives a new point of view in building a login system.. But so far …

Member Avatar for Waldema
0
231
Member Avatar for subrata_ushasi

Hi all, I am developing an website which is required to hide and show HTML. like if visitors user and password are correct then will show "You are logged in as "Namd " "Edit" "Logout" ,as and if logout is pressed then "user name " "password " "forgot password ?" …

Member Avatar for pritaeas
0
825
Member Avatar for Ismatus3

Hello , i'm new in web devellopement , u just could make a web page using kompozer called testconnexionpage1.php (this page contain entries to input name, date ... , and i created a database in PostgreSQL , i just know how could i insert my datas into my database from …

Member Avatar for pritaeas
0
67
Member Avatar for sidra 100

hi i am making a program in php. it actualy involves two tables from database one is order and other product_details i want that when i select a order i get its product and quantity and respective to that product i find quantity of first raw material reqruired. and then …

Member Avatar for pritaeas
0
123
Member Avatar for BenzZz

Hi, I've already created registration and login scripts for my application, however i now want to include an option for registered users to reset their password if they have forgotten it and cannot log in. As currently, passwords stored in my database are encrypted, they cannot just be emailed to …

Member Avatar for BenzZz
0
188
Member Avatar for sthakre624

how can i create alertpay buynow button without genrating random value just like[CODE]<form method="post" action="https://sandbox.alertpay.com/sandbox/checkout" > <input type="hidden" name="ap_productid" value="mfTho16MKzQB7QLnn4lJRQ=="/> <input type="hidden" name="ap_quantity" value="1"/> <input type="image" name="ap_image" src="https://sandbox.alertpay.com/sandbox/PayNow/9ABA9D5FC7C540799CAEF5A3868D9E60b0en.gif"/> </form> [/CODE]for my website

Member Avatar for pritaeas
0
83
Member Avatar for AceOfJames

Greetings, I have been wrestling with displaying some output from a form I made for a client. The form must take a checkbox array and display it in a specific part of a sentence in the output. The form data displays properly but it displays like this: The answers are …

Member Avatar for broj1
0
119
Member Avatar for stanley87

hi,guys, i am facing on hiding the image source problem, may i know how to prevent user by using right click on image and check on the path image source location?thks for any info ya.cheers

Member Avatar for stanley87
0
3K
Member Avatar for sajithfx

[B]Help me to use Search String[/B] [CODE]<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'> <html> <head> <title>DrLop Report</title> <script type='text/javascript' src='JS/AJAXControll.js'></script> <link rel=stylesheet href='CSS/Style.css' type='text/css'> <link rel=stylesheet href='CSS/Style1.css' type='text/css'> <script language="javascript"> function fnTagCheckAll(obj, strt_r_no, r_per_page) { objText = document.getElementById("txtValueCollect"); objText.value = ""; for(var i=strt_r_no; i < (strt_r_no+r_per_page); i++) { v …

Member Avatar for sajithfx
0
308

The End.