52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for epicrevolt

Alright, so I am working on this new site and for the registration, I am using a template I have used plenty of times in the past. Now, this one snippet I am showing you will check if the username is either too short or too long, or if the …

Web Development php
Member Avatar for epicrevolt
0
198
Member Avatar for joshyxux

<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>age.php</title> </head> <body> <?php require_once( 'output_functions.php' ); function connect_to_database( $host, $user, $password, $dbname ) { // Try to connect to database $dbconnection = mysql_connect('......', '...', '.....'); if ( ! $dbconnection ) …

Web Development html-css php sql xml
Member Avatar for Agarsia
0
161
Member Avatar for feoperro

Hi, If I have a home.php file and I want to store it into a $_SESSION like $_SESSION['home'] = home.php - how do I do that? I tried using include but it doesn't work... I have to have it in a session because it fits into a bigger portion of …

Web Development php session
Member Avatar for feoperro
0
128
Member Avatar for yohoprashant

I was trying to build an autocomplete text box in jsp page using Jquery plugin. But i am facing problem. Whenever i was trying to display the list, it is not displaying. When i was requesting for the jsp list page from JQuery Autocomplete, System.out is working, it is giving …

Member Avatar for MIENORCO
0
678
Member Avatar for shawtyred74

Can someone please help me....I am new to php and I am having trouble with redirecting back to my loginpage with an error message showinf at the top of the loginpage when the wrong user name and password is entered that will say that the user is invalid...here is my …

Web Development php
Member Avatar for yoge911
0
235
Member Avatar for jenni87

Hi, Iam sending email campaigns to our customers through our SMTP Server. Is there a way to directly remove the email addresses of the users to whom the email has been bounced directly from the recipient list database. Is there a software that could do this. Or can it be …

Web Development email php
Member Avatar for chrishea
0
83
Member Avatar for ProfPickles

Hello I'm creating a simple Pizza website with online ordering capabilities. Since it's a simple site it doesn't require an extensive database which is why I'm using XML to store all my menu items. I'm new to PHP and XML so this site is part of a learning experience So …

Web Development ecommerce php xml
Member Avatar for ProfPickles
0
227
Member Avatar for stephy1

This is my code. [CODE] <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Registration Page</title> </head> <body background= "bg8.jpg" width="1000" height="1000" alt="work1"> <form action="clientlogin.jsp"><table> <tr> <td> Company Name</td><td> <input type="text" name="cname" value="" /></td> </tr> <tr> <td> Password </td><td><input type="password" name="pwd" value="" /></td> </tr> <tr> <td>Location of company </td><td><input type="text" name="location" value="" /></td></tr> …

Web Development java java-jsp microsoft-access sql
Member Avatar for ~s.o.s~
0
146
Member Avatar for GreaseJunkie

Hi everyone, I have a project I'm working on where I am collecting data for a client on a form I host. They use "MailApe" (you know who I'm talking about), who aren't a very helpful group of monkeys. I need to collect the data to my db from my …

Web Development api email mysql php
Member Avatar for GreaseJunkie
0
225
Member Avatar for Hakoo

Hello all, I have created Servelets which are used by midlets and having Database in MySQL. I have deployed servelets in Apache Folder. but now question is how to setup Database? Thanking You, Hakoo S Desai.

Web Development apache client-server java-jsp
Member Avatar for peter_budo
0
179
Member Avatar for anirban1087

Hi, I am working on a order form using php, mysql & javascript. The problem I am facing is that while user input the quantity and rate of a product the js will auto calculate the total amount for the same. I am able to do this only for the …

Web Development html-css php xml
Member Avatar for diafol
0
315
Member Avatar for Layerphp

hi i have images saved in a folder, the referrence id and imagename of that images are saved in database in the way as shown below... id filename --- -------- 1 flowers1.jpg 2 flowers2.jpg the folder is on the root directory on images folder as ../images/gallery/flowers now how i can …

Web Development image php
Member Avatar for diafol
0
111
Member Avatar for msaranya

In my webpage, I have a button "SAVE DRAFT". The first time it is clicked the record must be inserted and the text of the button would be changed as "Update Draft". Then how manytimes the button is hit, it should just update the record. However if the user goes …

Web Development asp.net
Member Avatar for msaranya
0
586
Member Avatar for BHARANIMMAJ

HI To all, I am using php page navigation how pass selected check box value to next page. Example I am display 20 member details per page. First page i am checked 10 member. second page i checked 5 member. how to pass the first page checked value to second …

Web Development php
Member Avatar for sudeepjd
0
142
Member Avatar for coolest_987

Hi Everyone How can i upload pdf file in php as i have noticed that tmp file of pdf file is not created . Thanks in Advance

Web Development pdf php
Member Avatar for coolest_987
0
269
Member Avatar for stanley87

Hi,guys.I have some confusing on order priority of several column in same table.Let say i am using concat for my searching, [CODE] $search_keywords=strtolower($search); $search_keywords = strip_tags($search_keywords); $search_keywords = mysql_real_escape_string($search_keywords); $replace_keywords = preg_replace("/[^a-zA-Z0-9:-\s]/", " ", trim($search_keywords)); $search_exploded = explode(" ",$replace_keywords); //get array keyword $search_exploded = array_unique($search_exploded); //remove duplicate words $x=0; $construct2=''; …

Web Development php
Member Avatar for stanley87
0
147
Member Avatar for coervivekmca

i am having error in following code else condition not working(insert other user) plz fix it and reply it [code="jsp"] <% String dcolpoid = "null"; try { Class.forName("com.mysql.jdbc.Driver").newInstance(); //182.50.131.83 182.50.131.34 String sURL = "jdbc:mysql://localhost:3306/maxcaredb2011"; String sUserName = "root"; String sPwd = "password"; Connection con1 = DriverManager.getConnection(sURL, sUserName, sPwd); out.print("connection" + …

Web Development java-jsp
Member Avatar for masijade
0
136
Member Avatar for coervivekmca

Does anyone know how to use "relay-hosting.secureserver.net" to send mail using jsp code .....for godaddy............ I m having access denied error on port 25...so they suggest me to use relay-hosting.secureserver.net .........i dont know how to use it to send mail..plz tell me any thing about it and send me code …

Web Development email java-jsp
Member Avatar for masijade
0
88
Member Avatar for thijscream

heya, your last answers realy helped me out, but i'm still stuck with another question. what i want to do is the following. i have a database with this in it:" [CODE]id land streek rood wit rose 1 Frankrijk Bordeaux 1 1 0 2 Frankrijk Bourgogne 1 1 0 3 …

Web Development display php
Member Avatar for thijscream
0
151
Member Avatar for tomjrjones

Please help me can sumebody give me a comment script that uses PHP but it doesnt need to use a MYSQL database.

Web Development php
Member Avatar for d3rck
0
323
Member Avatar for kekkaishi

hi, i'm trying to manipulate dynamic textboxes using jquery such that when the value of the textbox_1 is, say, 'abcd' a new text box textbox_2 would be introduced and when the value of textbox_2 is again 'abcd' a third one is introduced and so on. ive managed to do this …

Web Development javascript javascript-jquery
Member Avatar for kekkaishi
0
146
Member Avatar for jonow

I am trying to set up a text message newsletter on my website. The basics of it are someone submits their number and I can go in and send out a message to a list of the numbers. I want to know the best method of going about this. I …

Web Development abuse client-server email php
Member Avatar for jonow
0
238
Member Avatar for 99k

Hello all, I need to extract data from a website, say for eg. Buy.com's Electronics category and save it either in MS excel. I tried looking for the code over the internet, but this wasn't properly explained anywhere. Please help me.

Web Development microsoft-office php
Member Avatar for diafol
0
118
Member Avatar for hishamaborob

Hi how can I assign html body tag contents into php variable then use it as the body of email

Web Development html-css php
Member Avatar for hishamaborob
0
150
Member Avatar for bangla

hi, pls help me the following if feasible. 1. i have a file "tax.php" <TR> <td ALIGN = "left" valign = "top"> <b>ABC</b> <br> --ABC BG<br> <u>Address- </u>123 main st. Suite 307, Flushing, NY 11354<br> <u>Phone </u>111-11-11<br><u>Email</u>- [email]SOMEONE@DOMAIN.COM[/email]</td> <td ALIGN = "left" valign = "top"> <b>ABC</b> <br> --SDFS BG<br> <u>Address- …

Web Development php
Member Avatar for diafol
0
179
Member Avatar for drewpark88

Hey guys, I understand how to setup the cron job to run once a day. Now I am having trouble putting together a function to do the following: I need to delete all content (rows) automatically where the "expire_date" field is equal to or greater than todays date. Keep in …

Web Development mysql php
Member Avatar for drewpark88
0
1K
Member Avatar for mtolan8164

Hello I am a complete novice so apologies in advance. I want to have a gallery on my website that looks something like the attachment. There is an image in the middle cell of the table and the current image number in the top cell as part of the navigation …

Web Development image javascript
Member Avatar for mtolan8164
0
89
Member Avatar for jdam7459

Is there any way for me to get a .php file to open in a web browser without a server?

Web Development php web-browser web-server
Member Avatar for Arcrammer
0
1K
Member Avatar for six_sic6

I have an html div [CODE] <div id="myDiv"> <table border="1" bgcolor="#FFFFFF" width="600"> <tr style="text-align:center"> <td>Subject Code</td> <td>Subject Title</td> <td>Credit Hour</td> </tr> </div> [/CODE] Now, I want to have a button by which i can convert this [B]<div id="myDiv">[/B] to image or .doc.... can any one help me

Web Development html-css image javascript
Member Avatar for six_sic6
0
91
Member Avatar for doctorphp

Hi everyone. I am trying to work on a script that will ban a user from accessing my website for x amount of time. Here is the html and sql code. [B]HTML[/B] [CODE]<?php $date = 'd-m-Y'; $endDate = strtotime($date); ?> <tr> <th>Length of Ban</th> <th>:</th> <th> <select name="period"> <optgroup label="Temporary …

Web Development php
Member Avatar for diafol
0
1K
Member Avatar for leemyers

blem I have a probem with my api signup page, the below code $this->obsConfig.... is not working i think it is outside a call but not sure how to put it in a class anyone know how to wrap this up? [code] $this->obsConfig['apiCall'] { ='AddUser.do'; $command = ""; if (!isset($obsAccount['username'])) …

Web Development api php
Member Avatar for phper
0
82
Member Avatar for buggyboy

Hello, I'm trying to code a script using GreaseMonkey that alert's you when someone removes a reputation from you. It's for a mybb forum. So it needs to: Search the source for the usernames > Put each into an array > Store the array and check it only when that …

Web Development javascript
Member Avatar for Taywin
0
312
Member Avatar for programmer12

The Javascript that I have included in my php created site is [CODE]<script type="text/javascript"> $(window).load(function(){ setHeight(); }); if(navigator.userAgent.search(/msie/i)!= -1) { } else { window.onresize = function(){ setHeight(); } } </script>[/CODE] Would this cause my browsers (Firefox - IE - Chrome - Opera) to not work?

Web Development javascript
Member Avatar for Taywin
0
109
Member Avatar for toasty525

Hi, I want to populate 2 javascript variables with data from 2 form text boxes, the javascript and form text bosex are on the same page using the following code: Form: [CODE] <form name="addSite" method="post" action=""> <label>URL: <input name="url" type="text" id="url" value="<? echo $site; ?>"> </label> <p>Title: <input type="text" name="title"> …

Web Development javascript
Member Avatar for Taywin
0
120
Member Avatar for primagic

I need some help with parsing information from a query string to a database. There is a company that wants to send me information to a page on my server as a query string (http post) e.g. [url]www.mydomain.com/info.aspx?Name=Smith&LastName=Taylor[/url] They will send probably about 15 different strings of information a day. …

Web Development asp.net first-post
Member Avatar for Freon22
0
87
Member Avatar for d3rck

Hi everyone, Edited: So I figured out how to show the submit buttons. My next question is how to incorporate a security measure like html_entities in the action of the form? [CODE] <?php require ("core/config.php"); $tablevaluegetter = mysql_query("SELECT * FROM ratingsystem WHERE typeofsite='somthingtorate' ORDER BY ratetotal DESC"); echo "<table border='1'> …

Web Development php
Member Avatar for d3rck
0
230
Member Avatar for rohit b k

hi guys, i want to express the data which is extracted from database in a table in the following fashion item1 item2 item3 item4 item5 item6 item7........... ............itemn dynamically but i can express either row wise or column wise but not as shown above please help me with the code …

Web Development php
Member Avatar for sudeepjd
0
98
Member Avatar for ryanduong

Hi, I hope someone here can help me with this problem. I want to create a button in my site such that when it's pressed, the site database will be exported to an excel file. The codes to export database I got works fine but when I try to merge …

Web Development php
Member Avatar for ryanduong
0
4K
Member Avatar for tcollins412

i need help with a project im working on. im writing a task manager for school, and lets say i have a section for the due-date. How would i write a calendar that pops up like in Google tasks or phpmyadmin when you go to insert a date. thank you.

Web Development mysql php
Member Avatar for diafol
0
106
Member Avatar for AdriftUniform

Hi, I am having an issue getting my select boxes working in IE. My current situation is that I have 2 select boxes, 1 for Styles and another for Substyles. Not all Styles have a Substyle, but each Style has a different Substyle, so when should happen is when you …

Web Development javascript
Member Avatar for AdriftUniform
0
165
Member Avatar for arshalan

hi, Php developers , need a help here. how to make php shortuts in [code]%shortcuts%[/code] or [code]:shortcuts:[/code] ? I know only a shortcut of [code]$shortcut[/code] But this is not usefull . Thanx in advance :)

Web Development php
Member Avatar for arshalan
0
166
Member Avatar for WinterDawn10

[url]http://www.facebook.com/photo.php?pid=608407&l=36ae49bbf4&id=100000539331398[/url] check out this picture.. i want to make one of my lists to be shown in this way.. whenever you click the '+' sign, the products under the main products will be displayed, and when you click the '-' sign, the products under the main products will be hidden.

Web Development gui javascript web-design
Member Avatar for WinterDawn10
0
151
Member Avatar for tcollins412

i need help with something lets say i had a url: [url]http://domain.com[/url] and it was supposed to go to the page [url]http://domain.com/loggedin.php?goto=hi[/url] how would i make it so in the browsers url bar, it only says [url]http://domain.com/?goto=hi[/url]

Web Development php web-browser
Member Avatar for chrishea
0
204
Member Avatar for facarroll

I am writing a script to register users, but I want to add an incrementing suffix to each duplicated name. The script works and posts to the database. On entering a name for the first time, everything is OK, but when I enter a duplicate name from then on, the …

Web Development php
Member Avatar for diafol
0
120
Member Avatar for Violet_82

Hi there, I have developed (with some invaluable and greatly appreciated help!) a comment box using Java script (see bottom of this page [url]http://www.antobbo.webspace.virginmedia.com/webediting/documents.htm[/url]) but I would like now to be able to receive comments via email. At the moment if you click on the comment button it opens the …

Web Development php
Member Avatar for Violet_82
0
124
Member Avatar for Aser Gado

Okay so I set up a registration form and everything goes well when registering but when I go and check in MySQL database the row is created but only the id field is filled not the First Name, Second Name, Email and Password. Here's the .PHP for processing the registration …

Web Development php
Member Avatar for pzuurveen
0
116
Member Avatar for fuston05

Was curious how to validate a phone number input field? Currently I am requiring that the phone # format be (5555555555) so that i can simply say if(is_numeric($phone_num)) so then when i retrieve it from DB i must manipulate the string to format it properly"(555)555-5555" But i was thinking it …

Web Development php
Member Avatar for fuston05
0
77
Member Avatar for niths

hi all, i am integrating facebook to my website so that user can login into facebook and get his photos from facebook to my website.. so how can i do that can anyone help me.. Thank u..

Web Development php
Member Avatar for niths
0
223
Member Avatar for ymsweb

Hi all, We are having problems in the shopping cart created. It says "Shopping cart" is empty some pc's but on some pc's it is functioning properly. The shopping cart is working from my side but from client side (on client's pc's) it is some pc's working and some pc's …

Web Development ecommerce php session
Member Avatar for pzuurveen
0
206
Member Avatar for jacob21

Hello, How to call a function on form submission. Thanks

Web Development php
Member Avatar for diafol
0
103

The End.