473,788 Members | 2,733 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP Forum

PHP web programming language - Ask questions about php scripting, databases, mysql, templates, PEAR, php functions, PHP-GTK, setup and installation, object oriented programming, classes, files, security, sessions, arrays and more.
10
2,527
thread by: patsman77 | last post Nov 21 '07 by: pbmods
I hope this is the right spot to post this.... I am working on a form to pull the information from the database. I am trying to use arrays, but I only get one record to come back and it is duplicated in both rows on my form. the code is: <?php $sql="select *from admin Where Week='1'"; $result=mysql_query($sql);...
4
1,319
psycho802
thread by: psycho802 | last post Nov 21 '07 by: nathj
hi guys! i'm newbie of this forum, can i ask for some help about submitting a form using php... tnx!
3
1,537
thread by: DiamondEagle | last post Nov 21 '07 by: DiamondEagle
I've successfully set up PHP 5.2.4 on my dev box and all is running well. Originally I had the php_operator.dll extension loaded and it caused one of my applications (Moodle 1.8) to regularly throw "PHP has encountered an Access Violation at 022C7BF0" errors. As soon as I disabled the php_operator.dll extension everything started running...
2
1,785
thread by: RuthC | last post Nov 21 '07 by: RuthC
Hi. I am using .htaccess to redirect in my website Now I want to redirect a url, which Contain '-' to another url. ex: RewriteRule ^book-and-magazine-discount/ query.php?q=$1.
7
1,605
moishy
thread by: moishy | last post Nov 21 '07 by: Atli
Hi all, I have a Admin page (only for me, pass required) where I want be able to upload a file from the web, to my website. I want to upload from a URL. (I can't move_uploaded_file() because it's not in the $_FILES array.) Can anybody please help me out on this?
4
45,601
thread by: mtuller | last post Nov 21 '07 by: axlq
I have a page that submits data to a database, and I want to make it so that if the page is refreshed, it doesn't submit the information again. I am trying to use unset the variables so that if the page is refreshed, it will not submit again. I saw a post about setting a time delay of something like 30 seconds, but would prefer just to unset...
1
380
thread by: Lloyd Harold | last post Nov 21 '07 by: Darko
I've noticed that the following HTML form and PHP script are being used on a site to which I contribute. Do they pose a security risk? The HTML Form <form name="FormName" method="POST" action="formprocess.php"> Name <input type="text" name="name">
66
4,692
thread by: flarosa | last post Nov 21 '07 by: Lew
Hi, I'm wondering if I can get a reasonably civil (without starting any huge wars) opinion on how server-side PHP compares to server-side Java. I've been strictly a Java developer for almost 10 years now, and I'm pretty happy with it. However, I can't help but notice that there are a significant amount of PHP-based development projects...
3
1,371
thread by: bikefreedom | last post Nov 21 '07 by: NC
I am looking for programmers to develop a content management system which can be attached to websites so that the customers can change their website without any problems. Email me for more details and if you are interested. Omer. syedomersaeed@hotmail.com
16
9,051
LacrosseB0ss
thread by: LacrosseB0ss | last post Nov 20 '07 by: LacrosseB0ss
I'm currently working on an online directory system using PHP (due to server constraints). Normally I would use something else but c'est la vie! I have my pages on the server (Login.php, SomethingElse.php, etc.php). All of them have some form of php code associated with them. In my cgi-bin folder, I have the code which references my data files...
2
2,189
thread by: bdbeames | last post Nov 20 '07 by: bdbeames
Ok, It has been one of those days. Here is my bump in the road. I have an add user form for the administrator. The administrator enters name, password and then selects access level from a dropdown. When the data is posted I take the administrator to a page where all users can be viewed. I then allow the administrator to select a user in the...
5
1,260
thread by: Bill H | last post Nov 20 '07 by: Bill H
I wrote a PHP script that the user decides who they want to send the email to based on the selection from a "dropdown" box. The essential part of the script that I'm having problems with is: <?php /* Pre-defined script variables. */ $eol = "\n"; $mailto = 'me@mycorp.net'; $mailfrom = 'webserver@mycorp.net';
0
1,049
thread by: Frederic BRIAND | last post Nov 20 '07 by: Frederic BRIAND
Hi, I've a website that is built mainly with XSLT stylesheets, and it works fine. Yet, I'm looking for a way to make things a bit faster and less CPU consuming. I wonder if there is a way in PHP5 to compile a stylesheet, persist it in some way, and reuse it later. I've serialized the XSLTProcessor object after I called the importStyleSheet...
1
1,250
Cowbie
thread by: Cowbie | last post Nov 20 '07 by: brettl
Hello again, I'm using a MySQL database and I want to pull results from the database and put them onto a php page. I've currently got it working using the following code, but it's not exactly what I want: $query = 'SELECT * FROM loan'; $result = mysql_query($query) or die('No Loans Found: ' . mysql_error()); // Printing results in HTML...
12
2,191
thread by: beary | last post Nov 20 '07 by: beary
Using php5, apache2, on winxp pro sp2. I have a script which uploads a file, copies the file to a folder on the server and writes the file information to a mysql database. I know it works as it does it fine for smallish files (eg 200KB). But a file of, say, 4MB it doesn't copy anything and it doesn't write any file info to mysql. Which leads me...
6
1,429
thread by: phill.luckhurst | last post Nov 20 '07 by: phill.luckhurst
Is there a good online resource for a beginner who wishes to learn PHP?
7
1,696
thread by: cov | last post Nov 20 '07 by: Jerry Stuckle
I have a php query where I'm attempting to pull data from 3 different tables between a php form and mysql db. I had hoped early on to use a unique identifier to help ensure referential integrity between table data but it appears that unique number isn't viable so I going a different route. I have two similar columns in these tables 'area'...
2
1,370
thread by: aayybb | last post Nov 20 '07 by: Markus
Hi Atli or any PHP expert, Can you tell me what the following action code does? I got it from the following post you have. I copied your example and saved it as test.html. I ran it and then it went nowhere after I pressed Login. Sorry I don't know anything about PHP. But I do need to set up password for a website and if the password matches...
5
2,713
thread by: jsd219 | last post Nov 20 '07 by: BRADINO
is there not an easy way to simply send the contents of a page in the body of an email? i.e. i have a report.php that pulls from a mysql db. i need to be able to send the displayed file right in the body of the email. can anyone help with this? God bless jason
4
1,797
thread by: Muddasir | last post Nov 20 '07 by: MarkoKlacar
Hi.. i am having a strange problem.......the problem is i am trying to upload a file and to store it in db....when the file got stored in db...it got converted into black and white image and the stored in db with the same name("b"appended in the begining of the filename). now the problem is that...the following script only converts three...
10
1,531
thread by: Alan M Dunsmuir | last post Nov 20 '07 by: Krister Karlstrom
Is there a standard technique, in a PHP/MySQL Web Application, for users to be provided with printable-quality output - e.g. business invoices - created for them on the fly?
1
3,907
thread by: suparna | last post Nov 20 '07 by: code green
The CSV file has few urls in an order. While opening the CSV file using Excel Sheet, the urls are not having the hyperlinks. It is stored as plain text. So we need a program that will store these urls in the form of hyperlinks
2
1,499
thread by: sreekanth | last post Nov 20 '07 by: ahchoo100
i need a php code which contains a form which contains textboxes,checkboxes and dropdown lists.i need a code which both readonly and write only basing on condition plz help me code get result.. plz send code to my mail
0
1,170
thread by: Any User | last post Nov 20 '07 by: Any User
Hello, I would like to know a few things about ad managers, like phpAdsNew, OpenAds, Max Media Manager etc. 1. What can I achieve by using such manager, comparing to simple class switching ad texts? 2. Which ad manager do you think is the best and why? Are there any other interesting ad managers I didn't mention?
10
2,560
thread by: jonathan184 | last post Nov 20 '07 by: pbmods
Hi I am tryin to validate certian types of files to be uploaded and file size and if this follows this correctly then insert in db this is the code i did so far. So far I commented out the parts that are not working. Could somebody help me out please. <?php ;

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.