39,402 Topics

Member Avatar for
Member Avatar for MikeBrown

Hi guys i m trying to view a log file as a html file from my server , i m using one script which is [URL="http://www.builderau.com.au/program/php/soa/Transform-plain-text-files-into-Web-pages-automatically-with-this-PHP-script/0,339028448,339272897,00.htm"]here [/URL] , so overall i m not a coder just trying to get it work 1. because log file latest entries are at bottom …

Member Avatar for saiprem
0
132
Member Avatar for rajeesh_rsn

Hai I made a login system in php and every thing working fine in IE and mozilla. But in Safari and in Opera when I click sign out then it works fine and after that if I press back button in browser then it comes to the previous page (myaccount …

Member Avatar for cwarn23
0
611
Member Avatar for Charitha31

Here the production system is Linux based and the development system is Windows based, hence the code has the following problem, what should be done to get the code to work on the Windows system. The Linux machine runs php-4.3.2-8.ent and the windows machine runs php 5.2.6. on the Linux …

Member Avatar for cwarn23
0
168
Member Avatar for phpbeginners

I am very new in website developing. Anybody help me how to make this dropdown listing in Internet Explorer Browser the same listing in Firefox. I want the word extended in the size of the dropdown button. see attached images. Thank you.

Member Avatar for phpbeginners
0
94
Member Avatar for whiteyoh

Hi all, I have a 4 column table. Say the count of records in each column is 5, 50, 100, 200. the column with 5 entries, has those entries not appearing at the top of its data area. eg cars houses flights a b c d a e b a …

Member Avatar for JRM
0
63
Member Avatar for zodiacfive

some of my session values are missing. Can anybody please tell what all reasons can be there?? on submitting the form its assigning to variable and its alerting using jquery. But after going any page session values are missing. Do any body had these type of issues. Am sure, many …

Member Avatar for emhmk1
0
55
Member Avatar for whiteyoh

Hi all, Im in the sandbox area of paypal and sending a test ipn, which is stated as successful. I miss spelt the name on purpose and got an error, so im guessing that it only checks for a file actually being there. I admittedly got this code from their …

Member Avatar for blocblue
0
59
Member Avatar for dottomm

Hello and thank you for taking the time to read my question. I am currently moving a static html site into a faux CMS and have a question about which direction is best recommended. I have series of 'News Articles' that I would like to make available through a db. …

Member Avatar for dottomm
0
126
Member Avatar for motters

hi i have a contact form that i want to submit to a dater base and here is my code to do that [CODE] <?php require_once('Connections/mywigan.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = …

Member Avatar for motters
0
116
Member Avatar for manoj30dec

hi I am using following code to validate username and password please can any body check where is the mistake... [code] $adminuser = $_POST['adminuser']; $adminpass=$_POST['adminpass']; if((!$adminuser=="") or (!$adminpass=="")){ echo "Please enter Username and Password"; } elseif((!$adminuser=="admin") or (!$adminpass=="manoj")){ echo "Invalid Username and Password"; } else{ "good"; } [/code]

Member Avatar for harshbavaliya
0
117
Member Avatar for anje

i want to update my form like question form in the same area how can it works?

Member Avatar for vaultdweller123
-1
48
Member Avatar for plc
Member Avatar for frezek
Member Avatar for muralibobby2015

hello.... i want to do search box. it is exactly like google custom search. i am not talking about functionality. i am talking about look and feel. you see google search box. in that google image will appear. when we mouse in that text box that image will disapear. how …

Member Avatar for saiprem
0
123
Member Avatar for Vai

Ok, I am stuck. I have the following code to log in. I don't think it is 100% secure, but I am having an issue writing a script that will email a link for a user to reset their password. Any help would be appreciated... [code] <?php session_start(); if(isset($_GET['reg'])) { …

Member Avatar for saiprem
0
86
Member Avatar for whiteyoh

Hi All, This follow script does exactly what it says on the tin, except 1 thing, the "show next 10 results" wont show the next ten. any ideas anybody? [code] <?php // Get the search variable from URL $var = $_GET['q'] ; $trimmed = trim($var); //trim whitespace from the stored …

Member Avatar for whiteyoh
0
120
Member Avatar for kuteinheart

Hi ppl, I have a form with a drop down box and a calendar picker. I want to check if both these fields have been filled to proceed to the next page. [CODE]echo "<select name=Project value =' '>ProjectName</option>"; echo "<option>Select Project</option>"; while ($row=mysql_fetch_array($result)) { echo "<OPTION VALUE=$row[Project_Id]>$row[ProjectName]</option>"; } echo"</select>"; ?></td> …

Member Avatar for kuteinheart
0
105
Member Avatar for JuliaNell

Hi guys, I actually want to know how i can insert and delete rows on submit and delete buttons with PHP?

Member Avatar for cwarn23
0
53
Member Avatar for anje
Member Avatar for nav33n
0
38
Member Avatar for justted

Hello everyone, I am trying to istall this script which has no install instructions. However, in the Config document it hs the following line whichit says to edit [code] $items_path = "/var/www/vhosts/cyberpetcity.com/httpdocs/images"; //EDIT $Z = ""; [/code] I thought it may have been the full URL that I was supose …

Member Avatar for mblizman
0
137
Member Avatar for sutt0n

Okay, so you know whenever you send an e-mail from your website to either test something or notify you, you sometimes get that signature that says "scanned by blah blah". Like in Gmail, it says "scanned by blah blah blah". I was wondering if there was a way to remove …

Member Avatar for cwarn23
0
161
Member Avatar for s.jns

Hi, All I looking For PHP ads and Banner Manager... the module e.g. ads by category (kind of ads) by location, by popular, by newest, by paid and free banner. also support registration member, payment model support flash, movie, mp3, google maps, support for free updating ready for multiple language …

0
59
Member Avatar for drewpark88

Hey Guys, It's me again....I thought everything would work but when I tried making a donation on my donation.php form I received the following error in my process_transaction.php file: Here is the error: Parse error: syntax error, unexpected $end in \\nawinfs02\home\users\web\b885\rh.mysite\orderform\process_transaction.php on line 224 My webhost is lame and does …

Member Avatar for drewpark88
0
102
Member Avatar for Book38

I have a wordpress blog that has a drop down category menu. I need to make my parent categories bold so they are set apart from the children. I have looked on the web for days to try and find out how to do this. I found nothing that works. …

0
70
Member Avatar for harry_watson

Okay I have a textarea that edits a text div. When the user edits the text and submits, paragraphs and line breaks are passed to the div. [B]i.e[/B] (not the browser)[B]text div[/B] after submit.... [I]'WARNING - This email and any attachments may be private & confidential. If received in error, …

Member Avatar for harry_watson
0
4K
Member Avatar for afshan_naz

I'm having a problem in connecting my access database using php. The wampserver displays a message of Parse error. I have connected my access db through control pannel's option administrative tools,but no output.plz help me.... The server shows the following message: Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Microsoft Access Driver] …

Member Avatar for CFROG
0
289
Member Avatar for drewpark88

I have a quick question. How do I get only the last 4 digits of the cc_number? Will the following work? Or should I try something different.. Oh and I am emailing to myself that's why it has $message. Here's the code I think will work: [CODE] $message .= "<td>{$_GET['cc_number'] …

Member Avatar for drewpark88
0
155
Member Avatar for aditi_19

Hi, My php code runs fine when i try to insert a description with plain text. But it does not insert if i type some special characters like testing's or "testing". How can i remove this problem? Thanks

Member Avatar for pritaeas
0
70
Member Avatar for whiteyoh

Hi All, The form below is set to pass data to paypal, however I cant seem to get it to work when using variables recieved from a $_POST. I get an error from paypal stating........ "The link you have used to enter the PayPal system contains an incorrectly formatted item …

Member Avatar for whiteyoh
0
99
Member Avatar for r0gp

Hi, I have the following: [CODE] $_host = $DHOY_CONFIG['db'][$connection_name]['host']; $_name = $DHOY_CONFIG['db'][$connection_name]['name']; $_port = $DHOY_CONFIG['db'][$connection_name]['port']; $_user = $DHOY_CONFIG['db'][$connection_name]['user']; $_pass = $DHOY_CONFIG['db'][$connection_name]['pass']; $dsn = "mysql://$_user:$_pass@$_host:$_port/$_name?new_link=true"; print "dsn is $dsn"; if ($dsn != 'mysql://:@:/?new_link=true') { $db_connection[$connection_name] = DB::connect($dsn); if (!DB::isError($db_connection[$connection_name])) { return $db_connection[$connection_name]; } else { trigger_error("General system error ID: 00002 - …

Member Avatar for r0gp
0
141
Member Avatar for drewpark88

Ok so here's what I'm trying to do: 1. You press submit on my php donation form page, and when you press submit it goes to a process.php but within the IF statement I have it to where it sends my client an HTML email. 2. What I want my …

Member Avatar for saiprem
0
168
Member Avatar for cane23

i m having some trouble trying to find the sum of an queried variable however this variable is inside a loop and it is not summing it is just returning the value at that instant in time this is the code below [CODE]@$code= $_POST['coursecode_1']; if( is_array($code)) { //$sum= array(); while …

Member Avatar for cane23
0
93
Member Avatar for xuexue

hi guys, just wanna ask, is it possible to have a function using tables in html wherein if a user selects a row, the program will get the value of the entire selected row? and this value will be passed to php without reloading the page itself..thanks thanks in advance,^_^

Member Avatar for saiprem
0
100
Member Avatar for mohane

Hi, i have query, i want to replace a string in text file. it should write correctly in specified line in the text file . whether it is possible. my doubt is if i delete the line in the text file. it remains blank. it should not occupy the other …

Member Avatar for mohane
0
2K
Member Avatar for ursrathika

Hai Experts i am working in php platform.i have a problem in paging in image catalog..my process is insert three or more images in image folder..and i have retrieved images in same folder to display table or Div in php.images are successfully displayed but i have a problem in paging....what …

Member Avatar for realnsleo
0
107
Member Avatar for preetg

hi............. m inserted records in database successfully but now i want that whenever record added in database a dialog box will be shown on the screen.............. " RECORD ADDED" m using javascript code for this but it is not working............ plz help me to do this ............. <HTML> <HEAD> <TITLE>Apprentice …

Member Avatar for phpbeginners
0
220
Member Avatar for joloms38

hi guys! can anyone help me about this problem. i want to select the desire data from a row but only the last row the will be posted not the data that i want to get. plz help me. its inside i a while loop. [CODE]else if (($from=='Cagayan De Oro' …

Member Avatar for rajabhaskar525
0
100
Member Avatar for phpDave

Hi, I'm trying to display certain links if user is logged in, else display other links. Everything works great except for log out link. I have a php script inside a php script and its not working. I was wondering if anyone has a solution. Here is the else part …

Member Avatar for phpbeginners
0
121
Member Avatar for tryphy

Hi friends, I have a form to create a company details.. which will insert the details into a table. For this table, I need to have a auto increment field as character.. when we have autoincreament as Integer... whenever the new company is created..the number will increase from 0, 1, …

Member Avatar for phpbeginners
0
117
Member Avatar for cane23

i want to store the result of an mysql_fetch_array function in an array for future use. here is my code [LIST=1] [*]$sql= "SELECT parameters FROM rules WHERE type='prerequisite' "; [*] //$result=mysql_query($sql); [*] if ($result=mysql_query($sql)) [*] echo '<p>nice</p>'; [*] else [*] echo 'good shit'; [*] [*]//$row = mysql_fetch_row($result) [*]// [*]while ( …

Member Avatar for cane23
0
8K
Member Avatar for ReDuX

If you have done a PHP based website, chances are you have dynamic content called by variables and so on. As many people use a main page (index.php) and use code within that page to dictate what content is displayed, either with if or switches or whatever. Thing is, Google …

Member Avatar for wiltekg
0
121
Member Avatar for zodiacfive

How can i pass POST [] array to jquery. Am using the code. var test = $("#content").val(); var dataString = 'content='+ test; if(test=='') { alert("Please Enter Some Text"); } else { $("#flash").show(); $("#flash").fadeIn(400).html('<img src="ajax-loader.gif" align="absmiddle"> <span class="loading">Loading Comment...</span>'); $.ajax({ type: "POST", url: "demo_insert.php", data: dataString, cache: false, Here only one …

Member Avatar for FlashCreations
0
60
Member Avatar for schaine

Hello all, here is the code im using: [CODE] <?php /** * phpTreeGraph * Linux filesystem hierarchy demo * @author Mathias Herrmann **/ //include GD rendering class require_once('./classes/GDRenderer.php'); //create new GD renderer, optinal parameters: LevelSeparation, SiblingSeparation, SubtreeSeparation, defaultNodeWidth, defaultNodeHeight $objTree = new GDRenderer(30, 10, 30, 50, 20); //add nodes to …

Member Avatar for schaine
0
98
Member Avatar for Rumblefish1976

I've been tinkereing around with PHP and I've come unstuck. I started out with an index page used to login, this linked to a login page for validation against allowed users, which in turn brought up a Voting Form and finally a page to display the results. In all 5 …

Member Avatar for Rumblefish1976
0
141
Member Avatar for zodiacfive

How can we redirect a page using AJAX on submitting a form with values and inserting them to the DB. I am using Jquery. Please help. :(

Member Avatar for zodiacfive
0
103
Member Avatar for ElegantElephant

I have the following file called config.php. These are configuration options for a client management system. I need these settings to be editable via the system admin panel. How would I go about storing these values in a database? Would it make sense to have a table called "config" with …

Member Avatar for ElegantElephant
0
103
Member Avatar for poorann

How to create a community portal using php frontend and java in the backend

Member Avatar for poorann
0
71
Member Avatar for ezeuba

Hello all, I am not new to php but what I want to try is new to me. i am designing a website (elbonfx.com)that I want to include a kind of newsletter system into. Now I have a form where visitors can insert their details and it gets sent to …

Member Avatar for saiprem
0
441
Member Avatar for peck3277

Hey guys I hope someone can help here, I imagine this is something small and simple but I can't figure it out I have the following code: [CODE] if (isset($_POST['Flavours']) && isset($_POST['Sizes']) && isset($_POST['Product_Name'])){ $flav = explode('-',$_POST['Flavours']); $flavours = $flav[0]; $sizes = $_POST['Sizes']; $product_name = $_POST['Product_Name']; $result = mysql_query('SELECT Products_ID …

Member Avatar for harshbavaliya
0
102
Member Avatar for tulipputih

Hi, I have to do this query: select all from a table, say lesson where 'the variable inserted' is equal to any column in table students and students. verified= yes. Can anyone help me on this. I have programmed as the following, however it just displays all column without doing …

Member Avatar for tulipputih
0
81

The End.