39,393 Topics

Member Avatar for
Member Avatar for Yproc

Hello, Both Monster.com and HotJobs.com allow a user to upload an MS Word doc (resume) that their site converts to HTML automatically. The user doesn't have to do any conversion work themselves. I've found several scripts that will convert an MS Word file to [I]plain text[/I], but wasn't able to …

Member Avatar for Yproc
0
68
Member Avatar for xceed

Hi guys look at this. [b][url]http://1.fabriconengineers.com/index.php[/url][/b] Look at the menu [url=http://img517.imageshack.us/my.php?image=beforenv8.jpg][img]http://img517.imageshack.us/img517/8615/beforenv8.th.jpg[/img][/url] [url=http://img248.imageshack.us/my.php?image=afterur5.jpg][img]http://img248.imageshack.us/img248/460/afterur5.th.jpg[/img][/url] after i add image in the menu it says = Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/fabricon/public_html/1/menu.php on line 97 How can i solve this??? Please help. Script Download Link. [code]http://rapidshare.com/files/90603607/yourownbux_base.zip.html[/code]

Member Avatar for fenixZ
0
1K
Member Avatar for daplayer321

Can someone please alter the following code to include pagination, iv been doing this for 2 days but cant get it right. <?php session_start(); if (isset($_SESSION['username']) == false){ header("Location:login.php"); exit(); } require "connect.php"; $sortby = $_GET['var']; $query = "select * from form ORDER by $sortby"; $result = mysql_query($query, $connection) or …

Member Avatar for Yproc
0
115
Member Avatar for dami06

Hi, I'm trying to create a separate usernames with the same login page using php and MySQL. I have tried adding different things to my login code for it to work but no progress. Basically i want to create something like this: A staff would be able to have a …

Member Avatar for fenixZ
0
176
Member Avatar for lifeworks

Hi I am trying to upload an entire directory to a server, using a script i found on the net... as a noob to php I've come unstuck on what I suspect is a basic bit of code... I need to specify a directory on my local pc as the …

Member Avatar for nav33n
0
58
Member Avatar for rickarro

I'm very new to php and am looking for help getting data out of my MYSQL database. I've made all my proper connections and all is running fine so far. What i want to do is have people get a result from the database based on their input...i.e., put in …

Member Avatar for nav33n
0
145
Member Avatar for jino

Dear All,, I need ur help regarding the below matter.... I had a form having 40 fields comming from 4 tables... I want to let the user to search a record using any of these 40 fields... For that i joined these tables using the "join" statement... Now the problem …

Member Avatar for nav33n
0
141
Member Avatar for tirivamwe

i have a website and it have a flash banner. the problem is that every time i open a link the banner will have to reload again. is there any way that i can use on my links so that when the link is clicked it will include a page …

Member Avatar for carobee
0
142
Member Avatar for lordx78

I have 2 some pages in the website I'm developing. I've also an admin page. If i want to log in to the admin page, I've to key in username and password and it will be validated and redirect me to the admin's page. The problem is, if I manually …

Member Avatar for johnsquibb
0
126
Member Avatar for Morty222

I am building a search tool to allow users to search players by the following criteria: Last Name: Sport: Graduation Year: City: State: Gender: Here is my query after the post. $ln = $_POST['lastname']; $ps = $_POST['primarysport']; $yg = $_POST['yeargraduate']; $cy = $_POST['city']; $st = $_POST['state']; $gn = $_POST['gender']; include('admin/mysql.php'); …

Member Avatar for jonesc5
0
68
Member Avatar for alieya

hai... i have develop a website using templet (from free provider) but i have a problem when run it at localhost (i'm using php & mysql-xampp package) i edited that templet at dreamweaver, i have no problem when view it at dreamweaver but when i run that website at the …

Member Avatar for alieya
0
145
Member Avatar for assgar

Hi I am trying to increment the date using weekly increments. I need to determine the start and end dates and the week number of the year. If you can suggest another approache that is OK, but this is what I came up with. I am having problems getting the …

Member Avatar for assgar
0
2K
Member Avatar for xeeb

is it possible to retrieve live data (maybe an xml file) from a website to use on your own website? ,lacking in knowledge of new technology

Member Avatar for Walkere
0
143
Member Avatar for myth3_16

Hi All, i'm new to this board. I'm having a spot of bother with the following: Here is what i'm trying to do. From the drop down list (generated from my database) a style is selected and the image is displayed in the preview box next to it. The problem …

Member Avatar for nav33n
0
301
Member Avatar for anthmaina

i'm getting a search parameter via $_GET and filtering the input data to prevent cross site scripting using the below code: $search = array ("'<script[^>]*?>.*?</script>'si", // Strip out javascript "'<[/!]*?[^<>]*?>'si", "'>'[^>]*?>.*?</script>'si", "'%0'[^>]*?>.*?</script>'si", // Strip out HTML tags "'@'[^>]*?>.*?</script>'si", "'>'[^>]*?>.*?</script>'si", "'([rn])[s]+'", // Strip out white space "'&(quot|#34);'i", // Replace HTML entities …

Member Avatar for web_lock
0
92
Member Avatar for 2mk

I create web services with php, but i need to access it using Ajax. Anyone can help me ? This my simple web services : [ICODE]<?php include('nusoap.php'); $server= new soap_server; $server->register('LoginPresenter'); //Login Presenter function LoginPresenter($user_mail, $user_password) { if(!$user_mail or !$user_password) { return new soap_fault( 'Client', '', 'Parameter anda tidak lengkap', …

0
45
Member Avatar for pukkalol

can some 1 explain to me why this takes over 24+ or even 1 week to send an email to the user with his password to be able to log onto my site. the coding is below. i need the email to be nearly instant! <?php session_start(); include_once"includes/db_connect.php"; if (isset($_SESSION['username'])){ …

Member Avatar for nav33n
0
146
Member Avatar for halifaxer

Hi all, Not even sure if this does belong in this section, but please redirect me if it doesn't. For those of us that have affiliate sites, most affiliates provide us with data feeds or specific data feed url with whcih we can link and extract information for our websites. …

Member Avatar for Walkere
0
100
Member Avatar for mark2326l

Data from MySql. I used nl2br() for line breaks, but wanted paragraph breaks. I wrote [CODE]function test($text) { $text = ereg_replace("\n", "<p> ", $text ); return $text ; } [/CODE] That worked but my editor wants indents not spaces between paragraphs. I thought [CODE]function test($text) { $text = ereg_replace("\n", "<br …

Member Avatar for mark2326l
0
89
Member Avatar for lordx78

[code=php] if(!$_POST['username'] || ['password']) { die('Error: Username / Password field was blank'); } [/code] What is the mistake in the code above. I want the syntax to check if either one of the fields are blank.

Member Avatar for nav33n
0
230
Member Avatar for halifaxer

I have recieved help over las couple of days with some regex coding. As I'm sure you're aware, with every breakthrough comes another question and I'm stuck on the following [code] $url = 'http://www.islandcosmetics.com/p/Vera-Wang-for-Men-Eau-De-Toilette-Spray-50ml.html'; $html = file_get_contents($url); preg_match('/<div class=\"padding9px\"><p?>(.+?)(\d+\.\d+)?<br \/><strong><span class=\"orange\">(.*)<\/span><\/strong><\/p><\/div>/', $html, $match); $out = $match[2];[/code] This first one is …

Member Avatar for nav33n
0
67
Member Avatar for jino

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\PHP5\www\registration-reports-result_testnet.php on line 137

Member Avatar for nav33n
0
119
Member Avatar for timhysniu

Hi there, Can someone recommend a PHP&MySql open source project management software that supports time tracking. It would be nice to be very simple and easy to use. Focus is only one project, so simplicity would be very nice. I looked at demos for dotproject and phpproject and they seem …

Member Avatar for JonathanD
0
58
Member Avatar for TaoistTotty

This is the first time I have looked at a PHP scripting (although I have done some ASP.NET) and I am looking for help with the following. Can PHP be used to update a HTML page - and if so how or where should I look? This is for a …

Member Avatar for nav33n
0
1K
Member Avatar for AbdullahKhatri

I was sticked in showing images from mysql, and another thing, if the user gives a single image , can we give a thumbnail on its own plz reply soon

Member Avatar for Nick Evan
0
69
Member Avatar for Venom Rush

Hi there I'm having a bit of a problem. As the title suggests, I'm creating $_SESSION's such as [code=php]$_SESSION[''.$row[0].''][/code] dynamically which is working perfectly, but the problem is I don't know how to call that same variable on a template page that I click through to. At the moment I …

Member Avatar for Venom Rush
0
150
Member Avatar for wizardofdigi

Hello. I have a website that is working except for one thing. The pages load fine but when a user clicks on any option, that should immediately stop what is happening on that page & take user to new the page they have selected. Right now it happens very slowly, …

Member Avatar for DangerDev
0
105
Member Avatar for ryan_vietnow

Hi guys, is there anyway to unset $_SERVER['PHP_AUTH_USER'] than to close the browser? I have tried [code=php] unset ($_SERVER['PHP_AUTH_USER'] ); [/code] or even [code=php] unset ($_SERVER); [/code] it unset but after you have refreshed it the $_SERVER['PHP_AUTH_USER'] comes back again. Hope to hear from you guys.Thanks

Member Avatar for johnsquibb
0
2K
Member Avatar for lordx78

[code=php] <?php // connection to MySQL server mysql_connect('localhost','root','root'); mysql_select_db('administration'); // *** Validate request to login to this site. //session_start(); $loginFormAction = $_SERVER['PHP_SELF']; if (isset($accesscheck)) { $GLOBALS['PrevUrl'] = $accesscheck; session_register('PrevUrl'); } if (isset($_POST['username'])) { $loginUsername=$_POST['username']; $password=$_POST['password']; //$MM_fldUserAuthorization = "level_usr"; $MM_redirectLoginSuccess = "validated.php"; $MM_redirectLoginFailed = "index.html"; $MM_redirecttoReferrer = true; //mysql_select_db($database_connBlog, $connBlog); mysql_select_db($database, …

Member Avatar for nav33n
0
284
Member Avatar for mbhimji

Hi, Hope someone can help. I have a form with several fields in it. One of the fields is a textarea. The user can enter data in this field, including carriage returns etc., Once the user clicks on SUBMIT I write the form contents to a text file. When I …

Member Avatar for nav33n
0
87

The End.