39,316 Topics

Member Avatar for
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
105
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
62
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
143
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
260
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
245
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
499
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
230
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
823
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
121
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
306
Member Avatar for kirtan_thakkar

I have inputted a word from a user and i want to find that word in a text file. My text file is like this. -------------- name1:value1 name2:value2 name3:value3 ... ... -------------- So if my user inputs name1 so i want corresponding value1.. How can i do these? Can anyone …

Member Avatar for trickist17
0
12K
Member Avatar for eman neercs

Not sure if this can be done in php or whether I should look at other alternatives. I'm trying to access 4 different sources of data to put on one page - Amazon API, Ebay, our sales data on one server and our inventory data on another server. (Historical reason …

Member Avatar for eman neercs
0
193
Member Avatar for creativeartbd

Hi, I'm new in php and face some problem in mysql. I want to check some data if it's remain on database. Example: in my form there are two form field. 1) url 2) name. So i want to check if session user have already this 'url' and 'name' in …

Member Avatar for debasisdas
0
120
Member Avatar for manc1976

Hi I have a search function where the user selects from drop down boxes. There are 4 fields to choose from and any of the 15 combinations can be used to search with. I am using Else If and the very first IF works, but when it is false it …

Member Avatar for cereal
0
254
Member Avatar for sidra 100

hi m writing a program n storing a values in session but one of them i.e of prie is not working . can any1 tel where m i wrong [CODE] $name=$_POST['P_list']; $quantity=$_POST['quantity']; $query= "SELECT product_name, unit_price FROM product WHERE product_name='$name'"; $result=mysql_query($query); if ($result) { if (mysql_num_rows($result)==1) { $orders = mysql_fetch_assoc($result); …

Member Avatar for pzuurveen
0
123
Member Avatar for asisani123

Parse error: syntax error, unexpected T_IF in C:\Program Files (x86)\EasyPHP-5.3.8.1\www\test\fuction\register.php on line 3 I get this error at my register page [CODE]<?php include('conn.php') do($_POST['register']); <form action="register.php" method="post" { $username=$_POST['username']; $password=$_POST['password']; $password2=$_POST['password2']; $date_now=date('Y-m-d'); if($password==$password2 ){ $query = "SELECT * FROM Member Where ID='$UID'"; $result_ = mssql_query($query); $numRows = mssql_num_rows($result_); if($numRows==0){ $sql="dbo.up_CreateMemberAccount …

Member Avatar for pzuurveen
0
181
Member Avatar for simplypixie

I have a CRON job set to run every hour (have to do it this often due to scheduling facilities on server) and one of the sections of the script is to check if a closing date for entries into an event is within 2 days and if so to …

Member Avatar for simplypixie
0
421
Member Avatar for issaru07

i have a login page and it works well. but how can i make like after the log in successfully and all my other pages will have Welcome (lastname) of the user ? as currently, after log in succesfully will redirect to welcome.php and it seems like it only able …

Member Avatar for pzuurveen
0
315
Member Avatar for sidra 100

hi m write a program to get the values from the form and storing them in database but its giving me error of undefined index for all variables . my code is [CODE]<?php session_start(); $con=mysql_connect("localhost","root",""); mysql_select_db("pras2"); $name=($_POST['name']); $type=($_POST['type']); $color=($_POST['color']); $unit_price=($_POST['price']); $size=($_POST['size']); $id=($_POST['id']); $query="INSERT INTO product (product_id, product_name, type, color, unit_price, …

Member Avatar for pritaeas
0
111
Member Avatar for prasanna123

<?php session_start(); $database="myfriend"; $userid=$_SESSION['user']; mysql_connect("127.0.0.1","root",""); $db_found=mysql_select_db($database); $sql="select fuserid from friends where userid='$userid';"; $result=mysql_query($sql); $id=0; $users=array(); ?> <body > <center> <p> your friends list:</p> <?php while($db_field=mysql_fetch_assoc($result)) { ?> <a href="displayprofile.php" id='$id' onclick="validate(this)"><?php print $db_field['fuserid']."<br><br>";?></a> <?php $users[$id]=$db_field['fuserid']; $id=$id+1; }?> <head script type="javascript/text"> <script> function validate() { var id1=document.getElementById(</script><?php print $id ?><script>); </script> …

Member Avatar for prasanna123
0
166
Member Avatar for wenothat

I Hope Any One Can Modify My File To Working Fine ... Sorry 4 My English [CODE]<?php if ( ( "randgames.php", $_SERVER['PHP_SELF'] ) ) { ( "Location: ../" ); exit( ); } $xBhtml = ( "table.tpl", $ccthemes ); $unixtime = ( ); $deltime = $unixtime - $randcachetime; @( "DELETE from …

Member Avatar for broj1
0
158
Member Avatar for gorleone

Hey guys, what the best practice for session check without duplicate code. I mean when check the session in some controller I have to duplicate the code to other controller, and that is not a good idea. <?php [CODE]class Ctrl extends Controller { private function _ses_check() {...} } class Second_ctrl …

Member Avatar for pritaeas
0
162

The End.