39,320 Topics
| |
Getting error: Parse error: syntax error, unexpected T_VARIABLE in /www/zymichost.com/m/u/s/musicalmadness/htdocs/guestbook.php on line 1 Here is my code: [code=php]<?php $guestbook = 'guestbook.dat'; $adminPassword = 'glitter'; error_reporting (E_ALL ^ (E_NOTICE | E_WARNING)); $admin = 0; ?> <?php $password = ""; if ($_POST['password'] == $adminPassword) { $admin = 1; $password = $adminPassword; } … | |
I made one php project in which we provide facility to create his/her own web site. Now I wants to add new feature giving different subdomains to the members' web pages. Because the number of members is about 120,000, manual configuring is not the solution. Let me give you an … | |
Hi All, My client want statistics report for page visits and he gave me google analytics reference for same. In which they gave facility to get report between two dates and report wil be day, week and month wise. I having with two dates but havent any idea how i … | |
I cannot insert the student id to table. Would you mind give me some recommentation,please! [ICODE] <body> <form id="form1" name="form1" method="post" action=""> <?php /* This page receives and handles the data generated by "form.html". */ // $_POST["FirstName"] is an array!! $total = count($_POST["checkbox"]); // print "Number of FirstName(s) submitted: " … | |
Hi I'm writing a website which will eventually create a new NewsLetter every week, which is saved in a MySQL Table. The user wants to view previous newsletters with the aim of selecting one to send out again. As each record contains 83 fields, this would be so cumbersome as … | |
Hi all I have a forgotten password routine that returns "Email address invalid" if the email address entered is not in the database. This seems to be the general trend to notify someone that the email address doesn't exist. I'd just like to know if it's possible for a hacker … | |
Hi! Sorry for my bad english! How to make simple chat with php and ajax without creating mysql database? Can you write code? Thanks everyone! | |
i am new in php so may be my problem could be so easy for u but i m not solve. anyone out there please help me. actually i am creating checkboxes inside the while loop with different id. and a user can check more than one checkbox and when … | |
Hello everyone! To get incoming message in fb-chat, browsers send request in certain interval (i think 55.31s). But if there is message it fetches message and terminates before starting new. Can anyone explain how it is done Regards | |
I have a db with all the staff details on. I have my webpage that displays all this data but i want to be able to have buttons like "all", "directors" etc that when clicked on will only show that dept Whats the best way to do this Regards Dan | |
Hi Guys I need a script which will allow me to redirect the user to an external webpage - I have a t&c's page on the site so the user needs to 'accept' t&c's before they are redirected to the thirdparty website. I used javascript however it seems to not … | |
Hello everyone, I'm new to PHP, i know the basic's of PHP. At least i think i do. I've read like 20 ebooks, read tutorials etc. And yet i still lack the knowledge of understand the basic concepts. (Putting it all together). Anyway, i randomly have questions about php and … | |
I am using PHP+javaScript+Mysql+html My Question is How can I upload Excell file in Browser to show the user the file is uploaded. and then update that excell data from browser to Database Please Help. I would be great is i can have a sample code. Best Regards. | |
Hello, I really would like to know how to compare two different databases hosted on the same server, compare each tableA rows with the tableB rows and find out the match and non Match ones using a php Script. And display the match and non Match ones Thank you | |
Hi all, I have a fairly simple question on something I know little about... Is there a PHP equivalent to the Perl POD? We're basically switching over from Perl to PHP but we are struggling to find a PHP-ish way of documenting from within our code. If anyone knows anything … | |
Hi, I am searching a online quiz cms or script which provide user login and admin area for managging quiz. thanks. -keval | |
i have the following xml file.how to display the first tag (tag by tag) then when next button are click the second tag is display <?xml version="1.0"?> <records> <reg > <name>hari</name> <age>22</age> <mark>67</mark> </reg> </records> <records> <reg > <name>hari</name> <age>20</age> <mark>78</mark> </reg> </reg> <reg> <book > <name>hari</name> <age>21</age> <mark>88</mark> </reg> … | |
hi, iam developing a website where i need to prevent users from downloading my images. i tried using javascript by disabling rightclick but in mozilla there is a option to disable javascript. any help? please.......... | |
My PHP knowledge is extremely limited so with someone saying read this wont help me much. Anyway... below should be everything one would need to assist me. Thx in advance ! [url]http://www.myu2sig.com/EoJCardLibrary.php[/url] If you check out the above link you will see some tables where I'm pulling and displaying DB … | |
Can any one tell me how to upload video files in php ? Thanks in advance | |
Hi all, How can we gain control of printer using php? I mean gain control as in, choosing the right printer from our php page and send the document directly to printer. I want to bypass the print dialog box that will appear when we print from web browser. By … | |
l want to add products to cart from the browse page. However when l add a product with attributes l get the following message [B]Info: To add this product into your cart you have to select a product variant on the details page.[/B] Can someone please tell me how l … | |
I am doing a project on php and sql and it involves posting of quetions by various persons and replying to those questions(which is a dicussion forum). Can i add text boxes for posting a question and displaying answers to those questions from a database. can u help me out … | |
Hey guys! I am working on creating a website that offers resources and calculators for a lot of algebraic and geometric equations. One thing that I want it to do is factor polynomial equations. For example, x^2-x-2=f(x) would become f(x)=(x+1)(x-2). WolframAlpha.com does this for all polynomials so I know that … | |
hey everyone i have sugested to create a new club in my school called programmers , so they told me that i have to bring a list of the club aims and they xheck if the aims are good or bad then they accept the club or no , so … | |
i dont know what is the issue and it is not giving me a error in the error_log. i have a variable that collects from the url to be put into the query were the DB field would go. i know that is is the part that is not working … | |
Hi all, Newbie question;.... I have a database and a table within called 'data'.. I also have a login script that allows users to access it. My question is..how do I make only the user's record viewable/accessible after login. Specifically, how do I access, the a specific record in the … | |
Hi all, I am having an issue with a php script that has worked fine in php 5.2.0 but with an upgrade to php 5.3 it is only prtly working. From what I understand ereg has been depreciated so I have tried many variations of trim() and preg_match() to remove … | |
I have an IIS7.5 server installed on my laptop. I'm learning C#, XML, XSLT, .NET, Visual Studio 2005, 2008, 2010 and Microsoft Expression Web. I am the webmaster on a simple PHP website that I inherited. I figure I ought to learn PHP, but figure I also need to install … | |
Is there a particular reason as to why some people use .inc and some just use plain .php for include files? Does actually do anything performance wise or does it just make it easier to distinguish between files? |
The End.