39,316 Topics

Member Avatar for
Member Avatar for elson.james

Hi there, I've search all over the internet on how to list a directory in PHP but failed to do so. I've seen other php scripts but it didn't have the features I want. Do you have something like this: 1. It allows you to display all the directories and …

Member Avatar for elson.james
0
271
Member Avatar for Stefano Mtangoo

a apart fro SQL injection what are risks to comsider when querying database? What are risks when uploading files other than limiting some extensions (like exe's)?

Member Avatar for Stefano Mtangoo
0
114
Member Avatar for hotice47

hi i was making calendar for my website some how using different tutorials i made it but i want to makes some changes but cant figer out can some one plz help me ... i am also comparing emp date of leave if thats true then it will change the …

Member Avatar for diafol
0
104
Member Avatar for OmniX

I am trying to see the restrictions of $_GET global variable and when I use the URL localhost/test/test.php?abc.def I am getting the variable abc_def in the global variable $_GET, any ideas? Any other restrictions?

Member Avatar for OmniX
0
161
Member Avatar for tiggsy

I have a piece of code as follows: [CODE] $query = preg_replace('/\<a href=\"(.*)\"\>\<img height=\"(\d+)\" border=\"0\" width=\"(\d+)\" alt=\"(.*)\" src=\"(.*)\" \/\>\<\/a\>/',"INSERT INTO newproducts (productName,supplierName,productLink,imageLink,groupCode,currency,price,updated) VALUES ('$4','supplier','$1','$5',",$ad); $query .= "'$group','\$',$price,CURRENT_DATE)";[/CODE] which works fine. But I would like somehow to amend it so that the field productName ($4) can have slashes added to it …

Member Avatar for tiggsy
0
149
Member Avatar for abhi10kumar

Send email from a website to a specified email. I am using user@puruinvestech as an email (Google Email Apps is setup). Email contains fields like Name, Mobile, Email of the user in feedback form.

Member Avatar for dasatti
0
105
Member Avatar for banmikko

anybody i need the codes to display image. im stucked with it. Im already done doing the codes for uploading. see it below.. i badly need it <?php // Create MySQL login values and // set them to your login information. $username = "root"; $password = ""; $host = "localhost"; …

Member Avatar for smantscheff
0
200
Member Avatar for matt.clark.228

I have on my website: index.php members/login.php members/redirect.php What i am trying to do is i have login point to redirect passing the login info from login.php. in redirect.php I want it to set all of the session variables that i will need everywhere else in the site, however, using: …

Member Avatar for smantscheff
0
125
Member Avatar for VanHackman

Hello, I need some help. I have a MySql DB, and some fields have Japanese values. DB collate is set to: utf8_general_ci When I check for a specific register with PhpMyAdmin, values with japanese characters display ok, but when I try to get the same register to show it using …

Member Avatar for smantscheff
0
2K
Member Avatar for emhmk1

Hi All, Okay, this has been bugging me for the past two days and i cannot think straight! Basically, the theory is, the member will upload a video, link is stored in database and on the video page all the videos are displayed click on video and page opens with …

Member Avatar for Agarsia
0
82
Member Avatar for alfredferg

Hi to all wordpress masters :$ I created a custom plugin that tracks my customers orders. Now, my problem here is how to integrate or to create a custom search that play only on the specific table I created for orders. Thanks in advance! -Alfred

Member Avatar for anditucker
0
152
Member Avatar for Brianbc

[CODE]<?php /* +-----------------+------------------------------------------------------------+ | Class | setup | | Author | Brian Onang'o | | Version | 1.0 | | Last Modified | 10:16 AM 10/2/2010 GMT+3 | +-----------------+------------------------------------------------------------+ | This program is free software; you can redistribute it and/or | | modify it under the terms of the GNU …

Member Avatar for Brianbc
0
238
Member Avatar for TheIdiot

I keep getting a syntax error in this code and I need a new set of eyes to show me what I am doing wrong. It is coming back and saying that I have an unexpected } on line 36. [CODE]<?php require_once("config.php"); //Connect to mysql server $link = mysql_connect(DB_HOST, DB_USER, …

Member Avatar for TheIdiot
0
143
Member Avatar for keval_hack

I need simple product management script which is able to perform -add new product. -delete product. -update product. -view product -keval

Member Avatar for sudeepjd
0
52
Member Avatar for ptara1

I'm trying to search a mysql table column for a number. However when I enter a number into the search form I get told that no query has been entered. Here is my code. Database connection information left out on purpose. [CODE] <?php if(isset($_POST['submit'])){ if(isset($_GET['go'])){ if(preg_match("/^[ a-zA-Z]+/", $_POST['search'])){ $search=$_POST['search']; $db=mysql_connect …

Member Avatar for smantscheff
0
76
Member Avatar for TheIdiot

I am wanting to create an online attendance sheet that would allow users to log on and use check boxes or option buttons for twelve weeks corresponding to wk1, wk2, wk3, etc... I have no problem retrieving the members of the group (records from db) but do not know how …

Member Avatar for shdwmage
0
122
Member Avatar for Imratzio

Hey everyone I was hoping if you can help me fix errors on a admin login form im using. Heres the code [CODE]<?php session_start();//works with session cookies, helps have persistant data i.e. if user is not logged in there will be no session variable if(isset($_SESSION["manager"])){//if it does not set session …

Member Avatar for Imratzio
0
223
Member Avatar for dschuett

Hi all! I am working on making a dashboard for the inventory of our trucks. I'm having some problems with figuring out how to calculate the percentage of the total SUM of trucks per MAKE without running two different queries. You can see below what I have working this far, …

Member Avatar for diafol
0
163
Member Avatar for elson.james

Hi everyone, I'm having a problem on passing values from my combo box. Let me show you first my code. I have 2 files [B]test.php and view.php. [/B] This is what's [B]inside the test.php[/B] [CODE] while($row = mysql_fetch_array($strSQL)){ $data .= "<tr>"; $data .= "<td>"; $data .= "<input type='checkbox' class='memberchk' name='membersID[]' …

Member Avatar for sudeepjd
0
159
Member Avatar for Masks.be

Hi folks, I have used my connection for all my scripts, but when I am trying to INSERT the BIRTHDATE of a register user scripts i get the ERROR below: [CODE]Check for mysql_real_escape_string() support. if (function_exists('mysql_real_escape_string')) {global $dbc; // Need the connection. $data = mysql_real_escape_string (trim($date), $dbc); } else { …

Member Avatar for sudeepjd
0
59
Member Avatar for george61
Member Avatar for ditty

Hi i have a news table. I am using the query "select * from news_table where news_id in(8,3,6,1)". This query is working properly. But the problem is i need to return the rows in the same order what we give in the 'in' clause. ie, first record with news_id 8 …

Member Avatar for mahavir123
0
87
Member Avatar for ian paul
Member Avatar for mahavir123
0
58
Member Avatar for thijscream

hey, it has been a couple of months since i have been here, and let's get strait to the point. someone told me you can change the page title of a dynamic link with the .htaccess file. for example i have a page. [url]http://www.mywebsite.com/page.php?id=1[/url] i include this page for different …

Member Avatar for smantscheff
0
2K
Member Avatar for ian paul
Member Avatar for smantscheff
0
50
Member Avatar for sea

Does anyone have an example of how to disable PHP Safe Mode for a specific directory? My PHP is configured as an Apache module. Thank you

Member Avatar for karmafunk
0
1K
Member Avatar for veledrom

Hi, How does a barcode reader stores barcode data? I heared that it stores as simple txt file. Let's say I've scanned 5 barcodes. Does it create 5 individual txt files with info in them or Does it create only one txt file and store information related to the all …

Member Avatar for pritaeas
0
88
Member Avatar for jackparsana

I have a Problem regarding wordpress Redirect. I have panel in Right-side in this there is one form page. its for contact mailing. In this form i have submit button. when i click on the submit button i want to get the thanks page on the left side body contain. …

Member Avatar for jackparsana
0
195
Member Avatar for rohit b k

hi guys, My project is based on online shopping so admin is the of the users of our s/w we want to provide an option of storing images of newly introduced products along with all details through a form.. and when customer logs in he should be able to view …

Member Avatar for smantscheff
0
98
Member Avatar for Silenta

Am trying to get a php script working. I have done a few reviews and corrected a few errors but it doesnt seem to work properly still. Its a quote script and instead of picking up a random quote its picking up all of them. I have tried amending the …

Member Avatar for Javvy
0
100

The End.