39,320 Topics

Member Avatar for
Member Avatar for Tryin2learn

Hi all, I am trying to get a grasp of web form data getting passed to PHP, then dumped into a SQL Database (2005). I have created the form in html. but because the form is an employee application there are a lot of text boxes, radio button, etc etc. …

Member Avatar for Graphix
0
106
Member Avatar for fudgealtoid

I wish to limit uploading to the video files swf pps bmp pps png gif mpg mp3 and wav - i'm sure I have the file / type incorrect. can someone please give logical solution... here's my code: [code=php]<?php if ((($_FILES["file"]["type"] == "video/swf") || ($_FILES["file"]["type"] == "video/pps") || ($_FILES["file"]["type"] == …

Member Avatar for crohole
0
507
Member Avatar for broll911

I am getting an error message on this php script and am a total loss as I am a complete novice and have no idea. Can someone give me some help? here is the error and also the code. Parse error: syntax error, unexpected T_VARIABLE in /home/content/m/i/x/mixxsalon/html/FormToEmail.php on line 1 …

Member Avatar for jomanlk
0
372
Member Avatar for fawkman

Hi guys I am very new to php and am trying to create a small content management site. Hopefully I will have posted this correctly, sorry If I have missed anything out. I have a self referencing form, which allows me to enter a file name and browse to a …

Member Avatar for jgeboski
0
116
Member Avatar for infernojmd

okay so i am doing a program that lets you type a name of a friend in and submit and it will display a picture of that friend but my output wont show the picture, it will have some type of error. if you look at the picture attached that's …

Member Avatar for Atli
0
102
Member Avatar for jonow

Hi, I was wondering how you keep a navigation menu up-to-date on a 200 page website. When I first started using HTML I used an iframe which it is a [I]terrible[/I] idea. Now i am using PHP (im using include). But i am guessing this is also very inefficient. SO …

Member Avatar for codejoust
0
138
Member Avatar for nish123

i have to call Mysql Procedure from Php... I dnt know how it is work..!! Waiting for positive reply..!! :)

Member Avatar for Atli
0
236
Member Avatar for MDanz

how do you do this with tables? I prefer table not frames. below works but the whole page goes to the other website.. when i just want to view that website in the table cell. [code]<?php if (isset($_POST['url'])) { header("Location: http://" . $_POST['url']); } ?>[/code] i don't think iframe will …

Member Avatar for diafol
0
89
Member Avatar for zaish

Hi Brothers, I m completely new at PHP, i dont know anything about php but from different sites i have come to know that i can redirect my unfriendly url to friendly urls. so i have started a short project but i dont know how to make url writing plz …

Member Avatar for Will Gresham
0
305
Member Avatar for catcoffee

Hi all! Сonditions of a problem: 1) in one form post info and upload file 2) validation only php without js 3) associated fields: if the value is not the same, we don't need to validate field 4) associated fields: if the value is the same, we need echo new …

Member Avatar for jomanlk
0
214
Member Avatar for mexabet

I need help to make an included template to appear only on two pages and not on other pages of a photo album. Can someone help me out on how to use the "elseif" statement to accomplish this? Right now template file appears on every page, which is not what …

Member Avatar for mexabet
0
145
Member Avatar for j_limboo

[CODE] Newbee in php Below is my table and script, I know it should change the password I am using a registration application the password is saved in this manner 1d7d2fcc49f157c0be4456580011a58d469c71b6 I could not make out if this is a md5. I echoed the php, the password i type in …

Member Avatar for j_limboo
0
126
Member Avatar for corewizard
Member Avatar for shishtawitch

i want to host my own site on localhost.......i want to create my name servers......... 119.152.60.26 is my ip address how can i set my name servers that is ns.mysite.com ns2.mysite.com or any thing else.............. i am using wamp on window xp............. waiting...............

0
62
Member Avatar for logonchristy

[B]You don't have permission to access /directory/admin/import_listings.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.[/B] I got this error while upload the fields of content to database... Anyone cross this error... Advance thanx...

Member Avatar for logonchristy
0
148
Member Avatar for laursenj

i got a phpcode as ill like to have as a javascript code if anyone can help me... Php code: [CODE]<?php $now_ho = date("H"); //Daytime(6h~19h) if ($now_ho < 19){ if ($now_ho >= 6){ $vwimg = "hh_entry_oc1"; } } //Night (19h~6h) if ($now_ho <= 24){ if ($now_ho >= 19){ $vwimg = …

Member Avatar for laursenj
0
98
Member Avatar for Stefano Mtangoo

Hi All, I have been using netbeans for long now and it is somehow good. But I saw Aptana and was attracted. But I failed to Install PHP support with its new PHP plugin (Actually it is PDT). It throws errors and Have tried to check on Easy eclipse. It …

Member Avatar for Stefano Mtangoo
0
832
Member Avatar for Stefano Mtangoo

Hi All, I need to upload image to site for my CMS. I use Ckeditor, improvement of FCKeditor. It is great editor but have no upload plugin (they say we should wait until version 3.1). There is ibrowser which have an issue with deprecated eregi() function (caused me to leave …

Member Avatar for Stefano Mtangoo
0
95
Member Avatar for web3

I have this 3 file for small chat and it works without database. But i was trying to connect to my database and use my users. Index.php [CODE] function createForm(){ ?> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <table align="center"> <tr><td colspan="2">Please eneter a nickname to login!</td></tr> <tr><td>Your name: </td> <td><input …

Member Avatar for Stefano Mtangoo
0
382
Member Avatar for tarunkhatri

Hi, I want to pass the parameter of employee_id to a page. My code is working fine and passing parameter to page but the problem is rather then the current parameter , It is passing the previous parameter which was selected in previous submit. Below is the code. [CODE]<form action='manager_employee_select.php?proc_employee_id=<?php …

Member Avatar for poojamakhija
0
93
Member Avatar for forzadraco

how to detect ip that converted to a region name.. any free code? coz i found it's commercial code while i'm trying to googling.. thanks

Member Avatar for pritaeas
0
112
Member Avatar for sarithak

Hi frnds.... In my hosting server they didnt set the SMTP properties perfectly....So, i used the below code...but, this working from last 1 month.but,unfortunatley this code not working from last couple of days..I am getting error...plz check the below code & error message.... [CODE] $to = "TargetName <abv@xxxx.com>"; $host = …

0
58
Member Avatar for Eriku

I have never used ftp in PHP, but now I 'm there. And I cannot figure out what content I should give to the string "$ftp_server" in ftp_connect($ftp_server). I would appreciate some advice.

Member Avatar for Eriku
0
76
Member Avatar for justted

Hello, I was wondering if I could clarify some recent information I have found on the internet regarding PHP security. Im a self taught PHP/MySQL amateur and therefore have a very skethcy knowledgebase of the coding. lol Im currently developing a website and would obviously like to ensure its as …

Member Avatar for jackiboa
0
559
Member Avatar for Phil++

Hey, I'm working on a College project that means you have to re-do the database each time you work on your assignment. So, what I'm hoping to create is a file called "sql_connect.php" which will check if the table is there, if not.. It will run the function that creates …

Member Avatar for forzadraco
0
122
Member Avatar for gpss

Hi! I searched but no luck :S anyone can help me.. i want to fill a table with 3 collumns and [I]n[/I] Row's, with all my database latitude and longitude parameters and date from when it happen... i think i need to make it with a [I]for[/I] .. but i …

Member Avatar for gpss
0
111
Member Avatar for JayGeePee

I was wondering if there was a way to only allow myself to access certain pages on my website? Is there a way to do this by using my ip address? And if someone with a different ip try's to access the page they are denyed or forwarded back to …

Member Avatar for edwinhermann
0
145
Member Avatar for sibt-i-hasan

i know not a single word about how to design a website and i dont know any language may any one can help me[code][/code]

Member Avatar for web3
-1
34
Member Avatar for Phil++

Hey, what I'm trying to do is create a mysql_connection script that includes a exception handling statement that trys to connect to the database and the table, if one isn't created it goes to a file and the database information is stored there. <?php // this file contains the database …

0
58
Member Avatar for praveen_dusari

hi all, i am developing a newsletter module for my site,previously i used a specific newsletter added by admin (using wyswyg) and it is inserted in database and like that admin can send newsletter of his type to n number of users at a time. now i want to change …

Member Avatar for pritaeas
0
107

The End.