39,402 Topics

Member Avatar for
Member Avatar for maxicube

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 = …

Member Avatar for almostbob
0
150
Member Avatar for bjc999

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

Member Avatar for vaultdweller123
0
106
Member Avatar for poojashah

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 …

Member Avatar for diafol
0
233
Member Avatar for mmxbass

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 …

Member Avatar for mmxbass
0
369
Member Avatar for Blacklister

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 …

Member Avatar for vaultdweller123
0
164
Member Avatar for balam

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', …

Member Avatar for vaultdweller123
0
103
Member Avatar for chupinette

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 …

Member Avatar for chupinette
1
91
Member Avatar for veledrom

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 …

0
50
Member Avatar for tunde011

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 …

Member Avatar for tunde011
0
150
Member Avatar for qhuemone
Member Avatar for network18
0
71
Member Avatar for veledrom

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

Member Avatar for veledrom
0
180
Member Avatar for Shyloo

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']; …

Member Avatar for rajabhaskar525
0
122
Member Avatar for phpDave

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 …

Member Avatar for network18
0
100
Member Avatar for network18

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', …

Member Avatar for network18
0
164
Member Avatar for sarithak

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 …

Member Avatar for network18
0
94
Member Avatar for phpDave

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

Member Avatar for network18
0
60
Member Avatar for webbi

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]

Member Avatar for network18
0
126
Member Avatar for amras123

[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 …

Member Avatar for network18
0
220
Member Avatar for futhonguy

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 …

Member Avatar for network18
0
81
Member Avatar for vizz
Member Avatar for moerpheus
0
115
Member Avatar for nikesh.yadav

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 …

Member Avatar for bsnmurty
0
380
Member Avatar for genieuk

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 …

Member Avatar for genieuk
0
137
Member Avatar for dmotah

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?

Member Avatar for cwarn23
0
93
Member Avatar for dinoservers.com

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 = …

Member Avatar for vaultdweller123
0
113
Member Avatar for qhuemone

[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(""); …

Member Avatar for vaultdweller123
0
127
Member Avatar for sarithak

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 …

Member Avatar for ShawnCplus
0
114
Member Avatar for poojashah

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 …

Member Avatar for vaultdweller123
0
81
Member Avatar for sheru2302

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 …

Member Avatar for vaultdweller123
0
121
Member Avatar for druveen

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' …

Member Avatar for vaultdweller123
0
774
Member Avatar for annaawills

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 …

Member Avatar for vaultdweller123
-4
159
Member Avatar for Elehas

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 …

0
52
Member Avatar for hno

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

Member Avatar for network18
0
62
Member Avatar for bigjoke

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 …

Member Avatar for pritaeas
0
191
Member Avatar for vizz
Member Avatar for jagadeshms

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 …

0
59
Member Avatar for vizz

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?

Member Avatar for vizz
0
203
Member Avatar for werm

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 …

Member Avatar for JRM
0
123
Member Avatar for zeroge

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, …

0
195
Member Avatar for zeroge

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 …

Member Avatar for zeroge
0
2K
Member Avatar for araaraa

[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\">&nbsp;</td>"; echo "<td width=\"550\" height=\"320\" align=\"left\" valign=\"top\"><h3 align=\"left\" class=\"pagesect judul_besar\"> &nbsp;<span class=\"menu1\">&nbsp;&nbsp;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>"; …

Member Avatar for javaAddict
0
100
Member Avatar for Aamit

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)

Member Avatar for almostbob
0
78
Member Avatar for ChintuChowdary

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.

Member Avatar for diafol
0
131
Member Avatar for guen

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 …

Member Avatar for GreenDay2001
0
85
Member Avatar for rajad2010

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 …

Member Avatar for rajad2010
0
1K
Member Avatar for whitestream6

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 …

Member Avatar for pritaeas
0
117
Member Avatar for izone

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 …

Member Avatar for izone
0
118
Member Avatar for yonile

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. …

Member Avatar for yonile
0
141
Member Avatar for borntowin_786

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 …

0
120
Member Avatar for vizz

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?

Member Avatar for network18
0
85
Member Avatar for rajad2010

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 …

Member Avatar for network18
0
128

The End.