39,402 Topics
![]() | |
Hey. i was wondering howto delete a single line from a FFD on the server that i currently have, it is not possible to use a mySQL database and I'd rather keep it a FDD I have tried too no avail. Here is my current code [code] <?php $file = … | |
Is there a way to use PHP include in URLs? e.g. http://www.domain.co.uk/path/<?php include 'file.php'; ?>/path/page.php This would help me so so so much! Thanks in advance! BJC | |
Dear All I am writing one small web application in PHP. I am trying to save some data which is entered in PLLWINDOW.PHP and when I click on Button Data should be saved in database, my insert into statement is written in SAVE.PHP. After saving the data in database my … ![]() | |
I am looking for a sane and sensible PHP framework. Every framework I've run into so far offers "an extensible architecture for developing, maintaining, and deploying applications" which is basically code for "a whole bunch of needlessly complicated BS I don't need". Ultimately, I am looking for something that is … | |
i am using APACHE 2.0.55 web server i have configured apache and php ( i get the phpinfo() page correct) altough after installing apache i do not get the 'http:\\localhost' page i have installed mysql_administrator1.1.9 and mysql-essential-4.1.12 on my PC. i have uncommented 'php_mysql.dll' in php.ini after restarting apache server … | |
i need some help with this script. its working fine but what do i do if i want to insert it within a html script. I have tried to but it between the <head> tags but dont get the result i want, pls help. [CODE] <?php include ('connect.php'); error_reporting(E_ALL); ini_set('display_errors', … | |
Hello! What I am trying to do is display a list of categories and another list of brands. [B]CategoryList : class BrandList : class[/B] I am getting only the list of classes displayed. Can anyone tell me what is wrong with my code.. [CODE] <?php $obj = new CategoryList(); if … | |
Hi, I have a project where more than 1000 users will upload files in one day. I need to use FTP to do this but I don't know what to use. So far I read about cURL, PureFTPd, Squid, ProFTPd. I have a server machine with LAMP installed to will … | |
I have a post a comment code that validates input but submits on page refresh. so i added session unique id to the form validation. but it won't let me post on any of the detail.php pages after i have posted on one(detail.php is a dynamic page that gets the … | |
can someone kind give me a sample code it will be highly appreciated thanks! | |
Hi, Is cURL FTP to upload word files to webspace or inhouse server is better option than using simple PHP file uploading function "move_uploaded_file()", if there are around 1000 user upload files in a day? Or is there any better solution? Thanks in advance | |
Hi, I'm new to PHP.If i execute this code. It shows the warning as "Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in c:\wamp\www\login_action.php on line 15 Name Address Telephone company" I don't know how to solve this.[code]<?php include 'connection.php'; $uname = $_REQUEST['uname'];//extract($_POST); $uname $pword = $_REQUEST['pword']; … | |
Hi. I building a site that users pay through paypal to insert data and would have to pay every month in order to store and display that data. I don’t want to delete the data if they don’t pay, just prevent it from being displayed on a non-restricted page. Almost … | |
Its a scenario of message and the reply post for articles and the posted messages are stored in the database. This message as a parameter is passed to the script (lets call is 'insert.php') doing this insertion is called from the js function onclick of the submit. Inside this 'insert.php', … | |
Hi , Till now i have been completed my projects on basic php,mysql,ajax.. now i have to do the project as like this.. [URL="http://http://www.finviz.com"]http://www.finviz.com[/URL] Some of my frnds said abt this as u should buy WIDGETS..after we can use it.. that is the only thing wat i know abt this … | |
Hi, I'm having trouble learning about cron. I understand what it does but how do I get started using it, is this someting I have to download? Where do I get it from? Any good tutorials out there? Thanks | |
Hi. Is it possible onclick event the image blue_go.jpg to be swaped with another one. Thanks[code]1. <!-- <input type="image" title="Click here to start Uploading" src="<?=$host;?>/images/blue_go.jpg" id="free_go_btn" alt="Go"/> 2. <!-- <input type="image" src="<?=$host;?>/images/blue_go.jpg" id="free_go_btn" onclick="beginUpload('<?=$sid;?>'); return false;" alt="Go"/>[/code] | |
[code] <?php $MD5Code = "kikugalanet"; // Your Neuz MD5 Code $dbAddr = "127.0.0.1"; // Your MSSQL Host IP $dbName = "ACCOUNTS_DBF"; // Your Account Database $dbUser = "root"; // Your Database user $dbPass = ""; // Your Database User password ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html … | |
Hi, I am trying to save my query results into MS Excel format by using the following code. It works on the 1st attempt, but however when i tried to save it again by making another query, i received this warning message: [B]Cannot modify header information - headers already sent … | |
How to allow user to add images to display at his/her profile area? | |
I m working on a MLM project in which i have to store member automatically in binary tree form like 1 is root 2 is child of 1 3 is child of 1 Then 4 is child of 2 5 is child of 2 6 is child of 3 7 … | |
Hi everyone, I have a drop menu as below and when submitted it sends either no value, male or female to the database. [CODE]<select id="gender" name="gender"> <option selected="selected" value=""/> </option> <option value="Male">Male</option> <option value="Female">Female</option> </select>[/CODE] Now when i go back to the page i want it to show the value … | |
hi i wrote a code in php which enables login with session. So that i can retrieve info of the loged user. It works fine in Firefox but not in IE8. What is probably the matter? | |
Hi, Iv'e been reading through all the different posts and searching the web all day and I am not sure what went wrong I am getting this error "Parse error: syntax error, unexpected T_STRING in /home/gamersh1/public_html/database/register.php on line 9" Code: Register.php [CODE]<?php include ('mysql.php'); if(isset($_POST['submit'])){ $username = ($_POST['username']); $password = … | |
[CODE]<?php $link = @mssql_connect("-", "-", "-") or die ("Server is down!"); $db = @mssql_select_db('-') or die ("Accout table is missing!"); function doesUsernameExist($name){ $exit = FALSE; $result = @mssql_query("SELECT * FROM Accounttable.. WHERE account='$name'"); if(mssql_num_rows($result) != 0){ $exit = TRUE; } else{ $exit = FALSE; } return $exit; } if(!isset($_POST['submit'])){ printSign(""); … | |
Hi frnds... i m getting differnt BUG... i m phasing problem with single quotes in IE only... In IE also some times sinlgle quotes sentences working fine...but some times it doesn't display some sentences..but in page source it display correctly.. here are the 2 senteces are working in IE... [QUOTE]Manmohan's … | |
I m doing a project in which i have to delete some data by matching 2 different fields. i m using and operator but it is not working in php page but it is working properly in phpmyadmin. So, please provide me some solutions about integration to php page with … | |
Hi everyone, Im pretty new here. Also realy new to PHP and MySql. In my current company they separate the html, php, css, classes codes to different different files. I just want to know, how to create a checkbox list that are create based on datas from database. Basically its … | |
how to assign database values to checkboxes from the following code i am geting only one value through post <form method="POST"> <?php $j=0; while ($value1 = mysql_fetch_row($value)) { ?> <table> <tr> <td> <input type='checkbox' name='expert' value=' <?php echo $value1[1]; ?>' > <?php echo $value1[1]; ?> </td> <td> <input type='checkbox' name='intrest' … | |
If you don’t know much more about php programming then read it this. It should be useful for you. As you know In Today’s time PHP is a most used scripting language, it’s also used in standalone graphical applications. PHP was originally created by Rasmus Lerdorf in 1995, and PHP … | |
I have an issue with a production site - www.successby6kfla.ca - see all the headings garbled? Another issue is in the admin panel. When trying to edit a page this error comes up Undefined GET property or variable in 'Page' class: Menuitem Exception Type: QUndefinedPropertyException Source File: /home/uwaykfla/public_html/sb6/admin/view/public/dsp_editPage.php Line: 27 … | |
HI, If I use PECL Filter for validating a form data Is it safe to use in database queries?Is it implement mysqli_real_scape_string to the values ? Thanks | |
Ok, so i am using windows task sheduler to open the browser and run the php script file. Now, the problem is that i want to do it on the machine which doesnt have Apache (or any other web server ) installed. What is the best way to make sure … | |
I wrote a simple code in java script and it is working fine with IE and not in Firefox but the out put in php array count is correct in IE but not correct in Firefox <script language="javascript"> var arrdimensions = { "codimesion":{"s":{'0':'dimesion1','1':'dimesion2','2':'dimesion3','3':'dimesion4','4':'dimesion5','5':'dimesion6','6':'dimesion7'},"c":1,"m":"50", "sc":1, "f":"nopcs[]"} }; function adddimensions(what) { parentId … | |
I need password changing code Please help! Please it's urgent. Database :-members Table:- userid int(12) name varchar(150) surname varchar(150) username varchar(150) password varchar(20) How to allow user to change their old password and set new password? | |
Hello all, This seems like a helpful little forum, so here goes. I'm getting the Cannot modify header information error. All of the solutions that Google has brought me to tells me to remove the white space around the opening and closing php tags. Well, there is no white space … | |
Hello everyone I am quite new here and have a very tricky issue that bothers since days. I posted the question on the PHP forum together with a sample of my embarrassing code. If this is wrong that I raise the issue here in MySQL forum, too, please forgive me, … | |
Hi everyone and HAPPY NEW YEAR :S (not sure if I am at the right place here but since I am pretty new, please don't scold me to death, just let me know and the next time ther won't be such next time, promise) I have a simple but effective … | |
[code] <?php include "config.php"; include "header.php"; echo "<tr>"; echo "<td width=\"250\" valign=\"top\">"; include "left.php"; echo "</td>"; echo "<td width=\"4\" bgcolor=\"#CCCCCC\"> </td>"; echo "<td width=\"550\" height=\"320\" align=\"left\" valign=\"top\"><h3 align=\"left\" class=\"pagesect judul_besar\"> <span class=\"menu1\"> Sistem Pakar Gangguan Perkembangan pada Anak</span></h3>"; echo "<p class=\"pagesect judul_besar\">"; echo "<blockquote>"; if(!pasien()) { echo "<div align=\"center\"><span class=menu>Access Denied !!!</span></div>"; … | |
Hi, I want to print the specific data from page instead of Full page data. So i can't use window.print method. I have take my data in $data variable. i want to print only this data. any other method for print selected data??(not full page) | |
Hi to all, I want WYSIWYG editor with different language like english,hindi,e.t.c, to type in text area. (EX:In gmail go to compose mail see how to change languages to type text in text area.). thanks in advance. ![]() | |
I need help convert from vb6 to php, this script for encrypt or decrypt some text and protected with password. Please i really need this, thank you. Private Sub Command3_Click() Dim S1, S2 As String S1 = RndCrypt(Text1.Text, "yourpassword") Text2.Text = S1 End Sub Function RndCrypt(ByVal Str As String, ByVal … ![]() | |
Hi guys, I've got a data scraping script that is not picking few html elements/fields that I need. I can't get the following elements: product title price and specification It could be that the xpath is not correct since the website has a lots of div/tables without any id or … | |
This is a code for my radio station schedule, which works well, no error messages: [CODE] <? //connect to mysql //change user and password to your mySQL name and password mysql_connect("localhost","root","PASSWORD"); //select which database you want to edit mysql_select_db("radio1"); //select the table $result = mysql_query("select * from schedule order by … | |
Hi there! I'm having this problem with LinkMachine. When I try to go to its login page (linkmachine/linkmachine.php), I get a completely blank page. I tried checking the apache's error log, and I get the errors: [CODE]SoftException in Application.cpp:256: File linkmachine.php is writeable by group. Premature End of Script Headers … | |
hi, i don't know if it's the right place, but - i've been trying to install a cms on my server, but i get this message - warning: mysql_num_rows(): supplied arguments not valid mysql result resource in .../install.php i've looked into the code but haven't seen anything wrong with it. … | |
Helllo freinds, I am a new babie to codeigniter.On admin side i m getting an error that is after login a black page get displayed.I am not getting what is exactly problem is.So I am pasting my code below. please if possible help me. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML … | |
I h've developed web based chat system there is need to add new users into chatting app . After successful registration how to add new user automatically into this system? | |
Hi all, I'm trying to create a curl script that will query a remote server using php/cURL via a form submission. - submit a form with two values (member id, postcode) - 1 value is only numerical, postcode is alphanumeric - if a result is found then display that NUMERICAL … |
The End.