39,393 Topics

Member Avatar for
Member Avatar for mbates

I am trying to set up a web based POS system and have got everything working apart from printing directly to a barcode / label printer. When printing to the barode printer I need to send it a text stream of ascii characters with none printable control characters. Here's an …

Member Avatar for phper
0
86
Member Avatar for spring_patel

hi frends i'm a novice in php... i just installed php and apache 2.2.x webserver and just wanted to try some very basic stuff... [CODE] <html> <body> <?php echo "Hello world"; ?> </body> </html> [/CODE] but rather than showing the output in the browser it shows the whole code.... could …

Member Avatar for phper
0
107
Member Avatar for BenWill

Hey all, posting again here as got major headaches! Basically.. I have a series of quite complicated queries, but the main problem starts right at the beginning, other than that I reckon im fine. What I want to do, is display a list of Registrations from Student's for Modules. This …

Member Avatar for nav33n
0
90
Member Avatar for edek

Hi Is it possible to overload return() function for some part of code (ie. for the scope of some class)? I would NOT like to define separate function to do 'other stuff' and use it on every return like that: return(myFunction()); Is it possible? Maybe there is some other trick? …

Member Avatar for edek
0
77
Member Avatar for Cente

I need help I want to develop in php code to redirect the browser to one specific folder (FTP) using password upon login in that folder only that folder they can access.

Member Avatar for petr.pavel
0
89
Member Avatar for anish.anick

Hi, I am a beginner in php mysql... I want to pass null values to integer from PHP file to mysql stored procedure. eg: $name = "John"; $age = $_POST['age']; // Which is a null value.. and i called the procedure like CALL InsertStudent('$name',$age); my procedure is not executing ... …

Member Avatar for petr.pavel
0
103
Member Avatar for anitha2324

Hi All I have a question , i am doing small interface ( using php,mysql,IIS) , the data stored in the database as unicode data , now i want to retreive the data and display those data in php interface but it should not in unicode format ( so i …

Member Avatar for petr.pavel
0
118
Member Avatar for Reliable

Hello everyone and thanks in advance for your help. I'm making a web page with an order form. So far I have Javascript calculating the total of the order as the user clicks another text field box and then they proceed to the contact information part of the form. The …

Member Avatar for petr.pavel
0
131
Member Avatar for austin-khoi

i have a problem with my form. there are 2 button : a login and a register button . login but will redirect to welcome.php, register to register.php. i put the action in the form like this <form name="login" method="post" action="welcome.php" > the problem is both buttons turn me to …

Member Avatar for nav33n
0
146
Member Avatar for carobee

Hi all, How can i avoid same php page from being opened in two windows? If the page is opened in one window, then if the user tries to open the same page in another window, he/she should be given a message that the page is already open. Can anyone …

Member Avatar for carobee
0
133
Member Avatar for pancgom

I have this page which has to retrieve the information from a database and display using the list menu object can someone please let me know of how to do it. The idea is when the name is selected it will retrieve the information relating to that name from the …

Member Avatar for pancgom
0
135
Member Avatar for JayJ

Hi all, Basically I'm banging my head against the wall recently trying to get a list of checkboxes to pass variables to a SQL query. If the checkbox is ticked then I wish for the a certain SQL query to be passed. This is my code at the moment that …

Member Avatar for JayJ
0
169
Member Avatar for redmage
Member Avatar for phper
0
82
Member Avatar for cmax

hello, everybody i have a problem , i have table , it contoin column ORDER ID, customer ID, amount, DATE. a problem when i type or create this table, i make a mistake i dont know where is my mistake when i type in mySQL database BY using ( MYSQL …

Member Avatar for phper
0
235
Member Avatar for drastic

hi, i installed easyPHP on my windowsXP professional but it is giving an error " that apache can not be runned another web server is using the web port". is this problem due to partially installed IIS? how can it can be fixed?

Member Avatar for phper
0
79
Member Avatar for dottomm

Thank you in advance to anyone who can solve this for me. In a registration form of mine the user selects the state they live in with a drop down menu.

Member Avatar for nav33n
0
111
Member Avatar for tie372

I have a form and upload script so people can upload games to my website. The form code: [code] echo "<form action=newgame.php enctype=multipart/form-data><table border=0 method=post bgcolor=1a1a1a><tr><td width=70%> game title</td> <td><input type=text name=title maxlength=48></input></td> </tr> <tr><td>summary</td><td><textarea name=summary rows=5 cols=30></textarea></tr> <tr><td>genre</td><td> <select name=genre> <option value=action>action</option> <option value=adventure>adventure</option> <option value=arcade>arcade</option> <option value=other>other</option> <option …

Member Avatar for petr.pavel
0
116
Member Avatar for AbdullahKhatri

My question is that in phpBB3 how can we give administrator or moderater to moderate all the post in forums ? thanks in advance

Member Avatar for JayJ
0
60
Member Avatar for camdes

Is there a way to find the path to imagemagik on my server, I got the following code from someone to fin out if imagemagik is on the server [CODE]<?php echo "<pre>"; system("type convert"); echo "</pre>"; ?>[/CODE] I get the following back, is this the path? [QUOTE]convert is /usr/bin/convert[/QUOTE]

Member Avatar for JayJ
0
69
Member Avatar for dottomm

Thank you in advance to anyone who can answer this for me. In a registration form of mine the user selects the state they live in with a drop-down menu. In the 'Update' form I would like their previous choice to automatically display its selection. For example if my profile …

Member Avatar for nav33n
0
97
Member Avatar for pssturges

Hi, I'm trying to create a web ui that will run some scripts on my server (Ubuntu gusty). I want the user to be able to select some files on the server via some sort of file select form. The selected file path would then be passed to a text …

Member Avatar for sDJh
0
83
Member Avatar for pranto157

i need a solution.. i want to transfer a numeric value from a combo.. according to value with ajax/javascript i want to create radio button.. suppose i send 3 then , it will show 3 radio button.. plz help me... here is the javacript code [code] function radio_b(){ var a=document.getElementById("radio_button").value; …

Member Avatar for buddylee17
0
76
Member Avatar for mrcniceguy

I created a profile where,after registration and login in Someone can view his dteails. How can I do so that,he/she will be able to edit/update that same profile, after login in. i use "User" and password in login in. Help please!!!

Member Avatar for mrcniceguy
0
86
Member Avatar for sukhy_1

Hello does anyone know how to bring details from a database into a textbox? becuase ive got the login working and it displays whos logged in but i want the postcode to appear in a textbox, the postcode is kept in mysql table called address. /after connecting to mysql [code=php]$query …

Member Avatar for nav33n
0
185
Member Avatar for jino

When i am loading the below page it is showing this error message: Parse error: syntax error, unexpected $end in c:\PHP5\www\JINO\Tutorial\mis\from net\login_full\register.php on line 76 Here line 76 is the last line.. Please help.. [code=php]<?php mysql_connect("localhost", "root", "") or die(mysql_error()); mysql_select_db("tutorial") or die(mysql_error()); if (isset($_POST['submit'])) { if (!$_POST['username'] | !$_POST['pass'] …

Member Avatar for nav33n
0
148
Member Avatar for PeterYpenburg

Hi, I am developing some PHP code for a client and part of the code must send emails. My development environment is using Eclipse on Windows. I want to test the email functionality from my local machine. I have to set the values in php.ini file but I am not …

Member Avatar for PeterYpenburg
0
231
Member Avatar for Brims

Hiya my application is an online music video library where users can download music to their web browsers, mobile phones and pdas. right now my application downloads the track and plays the music track from the browser, I just want it to do the same on mobile phnes and pdas …

Member Avatar for vishal arora
0
116
Member Avatar for kings

[CODE]<?php session_start(); if(!isset($_SESSION['un'])) { header('Location: web_login.html'); exit(); } else { ?> <html> <body> <?php print "<table align='center'><tr><td>Thank u</td></tr>"; echo $_SESSION['un']; print "<tr><td><a href='http://www.examples.com/fram.php'>View Order</a></td></tr>"; print "<tr><ta><a href='http://www.examples.com/web_job.php'>Search </a></td></tr>"; print "</table>"; } ?> </body> </html> [/CODE] when i execute this code even though my $_SESSION['un'] is present in the database it's …

Member Avatar for kings
0
113
Member Avatar for queenc

hi now i want the first one alone to be seclectes on page load,rest should word based on the user clicks [CODE] SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- function view(s) { if(ss.options[s.selectedIndex].value!="none") { var a=document.getElementById('IndustryType'); var temp=a.value; parent.frameright.location = "http://www.website.com/web_desc.php?var=" + temp; } } --> </script> $result=mysql_query("select * from jopposting where owns='$id' …

Member Avatar for nav33n
0
339
Member Avatar for justinmyoung

if (empty($_POST['repair_number'])) { $errors[] = 'You forgot to enter your repair number.'; } else { $rn = escape_data($_POST['repair_number']); } Could someone tell me why I on my form do I keep getting an error that says "You forgot to enter your repair number." when I'm entering a number in that …

Member Avatar for nav33n
0
58

The End.