39,393 Topics

Member Avatar for
Member Avatar for mrcniceguy

the code below i`m using to send emails to members in my site. but in yahoo they are saved in the Spam folder also hotmail in junk folder. [code=php] $from="From:mysite@mysite.com\r\n"; $to="$email"; $subject="$user left you a Profile Comment on mysite.Com "; $content="$user left you a profile comment on mysite.Com to view …

Member Avatar for mrcniceguy
0
147
Member Avatar for NoID

Hello Guys, I want to delete a record from my saved.php which has a code, [code] <td><a href=\"delete.php?id=$ID\">delete</a></td> [/code] Which gets the link as [url]http://localhost/delete.php?id=8022[/url] I then have a delete.php file, which has this code, [code] <?php if(isset $_GET['id'])) { $id = $_GET['ID']; $con = mysql_connect("localhost","t","123456"); if (!$con) { die('Could …

Member Avatar for spthorn
0
147
Member Avatar for headedtomexico

anyone have a link to a good auction script. Something simple, no frills. I'm running phpbb2 and want to add an auction area. I looked at that phpbb-auction.com site, and it seems pretty delapidated, and I'm not so sure I want it as a phpbb add-on. Whatever script I do …

Member Avatar for diafol
0
140
Member Avatar for tulipputih

Hi. How could we unlock the locked textbox whenever users click a button -say ' customise button'. Then users are able to customise the boxes and save it as a set of new data with new ID? Help is much appreciated.

Member Avatar for tulipputih
0
170
Member Avatar for ersubhajit

I am getting this problem whenever I login from index.php to admin_area.php. I am giving the codes of the two files. Please help. Index.php [code=php]<?php session_start(); include("../lib/globals.php"); if(isset($_REQUEST['submit'])) { $u_name=$_REQUEST['username']; $pass=$_REQUEST['password']; $sql="select * from `user_table_master` where `user_name`='$u_name' and `password`='$pass'"; $result=mysql_query($sql); $row=mysql_fetch_array($result); $num_of_rows=mysql_num_rows($result); if($num_of_rows>0) { $_SESSION['logged_in']='y'; $_SESSION['user_type']=$row['user_type']; $_SESSION['user_formation']=$row['formation']; $_SESSION['user_name']=$row['user_name']; $_SESSION['name']=$row['name']; $_SESSION['user_id']=$row['user_id']; …

Member Avatar for guru12
0
153
Member Avatar for sanjaypandit

i made this code but it shows result Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files\VertrigoServ\www\sanjay\rlc\closing.php on line 14 [code]<? include("admin/include/conn.php"); $today=date("Y-m-d H:i:s",strtotime("+5 hours, +30 minutes")); $c_closing="select * from member_information where child >=2"; $c_closing_query=mysql_query($c_closing); while ($c_row=mysql_fetch_array($c_closing_query)) { $c1_query="select * from member_information where Mem_sponsor_id=".$c_row['Id']." limit …

Member Avatar for Manuz
0
142
Member Avatar for gromamatej

I have XAMPP installed on my computer and started all features. When I type to browser on PC in my lan IP adress of my computer it shows me xamp welcome screen with everything working. But when I start demos which uses mysql databases (CD Collection or Phone Book) it …

Member Avatar for gromamatej
0
71
Member Avatar for khr2003

Hi I am trying to add multiple file upload feature to a form. I am wondering if there is a way to upload the files before submitting the form and them when the form is submitted and the data inserted into the database, the files get uploaded to the designated …

Member Avatar for khr2003
0
96
Member Avatar for shankmuchlove

I m trying to integrate java in php. I use xampp 1.6.8, with php version 5.2.6. I m trying to call java classes and methods from php. I had set php.ini as extension=php_java.dll [java] java.class.path="\xampp\php\extensions\php_java.jar" java.library="\xampp\jdk1.5.0_10\jre\bin\jvm.dll" java.library.path="\xampp\php\extensions\php_java.dll" java.home="\xampp\jdk1.5.0_10" I get the error as Fatal error: java() [<a href='function.java'>function.java</a>]: Unable to …

0
64
Member Avatar for praveen_dusari

hi all, i am using codeigniter for a shopping cart for my admin panel i created a first method mentioned [URL="http://philsturgeon.co.uk/news/2009/07/Create-an-Admin-panel-with-CodeIgniter"]here [/URL] for this iam getting error failed to open stream 'D:\wamp\www\codeigniter\admin/system/codeigniter/CodeIgniter.php’ i need to add ../ in this line [code=php]require_once BASEPATH.'codeigniter/CodeIgniter'.EXT;[/code] how to do this i am getting error …

Member Avatar for Banderson
0
105
Member Avatar for tulipputih

Hello, anybody can suggest me on how to do exact match in php ( for search purpose). From my reading I understand that we need to use " ". What is the correct syntax for this? Is preg-match important here. Thank you.

Member Avatar for praghna
0
90
Member Avatar for cali_dotcom

i'm parsing a csv file with ajax and php, although i think i did everything right, nothing happens when i click on the link. here is the code: [code] here is the html: <div id="brandContainer"> <ul id="brandNav"> <li class="categorypage" id="face"><a href="javascript:showCD('a','brandPage')">A</a></li> </ul> <div id="brandPage"></div> </div> here is the ajax/javascript: var …

Member Avatar for Banderson
0
179
Member Avatar for xuexue

hi guys, i want to include the icon of the type of file am uploading, is that possible????

Member Avatar for diafol
0
105
Member Avatar for garry_u

Hi, I need a social network site built using PHPFox. I want all the components , video, pic, chat, forum, blog etc setup. Required skills: * Software engineering education * Social networking API experience * SMTP/POP programming experience * Web services * LAMP or .NET (you convince me which) * …

Member Avatar for NatashaA
0
486
Member Avatar for xuexue

the question is that, what if i have a separate folder wherein the files i wanted to replace the name is located? example, the uploads folder contain all the uploaded file, now the user can edit the file's information, let's say the filename, how about that?

Member Avatar for diafol
0
77
Member Avatar for ChintuChowdary

Hi To All.. How to create cms(Content Management Site) without using database in php... Thanks In Advance...

Member Avatar for diafol
0
67
Member Avatar for xuexue

i could get the size of the file i uploaded, however, i want to convert it to MB, i dont want to make some computations, is there any easy way to do that????

Member Avatar for xuexue
0
80
Member Avatar for tones1986

I have created a drop down list from a SQL query as follows: [code=php] <?php echo '<form action ="boat_info.php" method="POST">'; $query = "select SHIP_NAME from SHIP"; $result = mysql_query($query, $link); if (mysql_num_rows($result)) { echo "<select name='boat' value='bname'>Ship Name: </option>"; while ($row = mysql_fetch_row($result)) { print("<option value=\"$row[0]\" name =\"bname[]\">$row[0]</option>"); } } …

Member Avatar for cybersat
0
981
Member Avatar for borntowin_786

//php file [code=php]$strSheetName = 'test'; $objXLApp = new COM( "excel.application" ) or die( "unable to start MSExcel" ); $objXLApp->Workbooks->Open( "path/test.xls" ); $objXLSheet = $objXLApp->ActiveWorkBook->WorkSheets( $strSheetName ); $i=3; do { $strCellName = 'B'.$i; $objXLCell = $objXLSheet->Range( $strCellName); $i++; echo $objXLCell->Value()."<br>"; }while($objXLCell->Value()); echo $i; //print $objXLCell->Value(); //objXLsheet.Range("A1:A100") //print "Cell $strCellName in $strSheetName: …

Member Avatar for borntowin_786
0
140
Member Avatar for k2k

i just downloaded a login script and the code below is the php backend for the login. It is originally using md5 encryption and decryption for the password. For some reason I want to manage the password without encryption for now. my database has a member with login name and …

Member Avatar for k2k
0
122
Member Avatar for xuexue

hi guys! this is my problem, let's say the user wants to edit the file's information, not the file itself. example, i have Document1.doc, that is my file, what i want is that the user could edit the information, let's say the time it was uploaded, the filename and not …

Member Avatar for xuexue
0
1K
Member Avatar for CFROG

I'm working on a script that handles a member sign up. Upon submission of new member info the script queries the users table to check for duplicate user name (in this case an email) and return an error if duplicate is found. If not I want it to just submit …

Member Avatar for humbug
0
139
Member Avatar for xuexue

hi guys, i already have a working upload.php, now the problem is that the file cannot accept pdf files? but other than that, it works very well, what do you think should i do with this? [code] echo"<form enctype='multipart/form-data' action='fileRecs.php' method='POST'>"; echo "<input type='hidden' name='MAX_FILE_SIZE' value =1000000/>"; echo "Choose a …

Member Avatar for xuexue
0
78
Member Avatar for cali_dotcom

hi, im not such a php expert and i want to parse a csv file located at [URL="http://www.totalbeauty.com/resource/lists"]http://www.totalbeauty.com/resource/lists[/URL]. does anyone know how i can do this, what to watch out for, the best way to do this and just general tips for parsing files. thanks..

Member Avatar for almostbob
0
131
Member Avatar for veledrom

Hi, This is actual link [inlinecode]http://www.xyz.com/list.php?id=1[/inlinecode] How can i show it like this [inlinecode]http://www.xyz.com/?id=1[/inlinecode] in the address bar? Thanks

Member Avatar for diafol
0
60
Member Avatar for codemaker

I find it hard to explain so I'm going to write down my code test.php [code=php]<?php if ($_GET['value']=="1") { $x='It is working fine'; exit(); } ?> <html lang="en"> <head> <script type="text/javascript" src="ajax.js"></script> </head> <body> <form method="post" action=""> <select name="s" onchange="makerequest('test.php?value='+ this.value)"> <option value="">Select One</option> <option value="1">One</option> </select><br/> <input type="text" id="res" …

Member Avatar for diafol
0
247
Member Avatar for kbjustin

Basically I have created a site where someone can view a table which contains information about various servers. They can also create a report from this table selecting the fields they want to see in their report. Each field can be selected through a checkbox and there are 16 different …

Member Avatar for kbjustin
0
80
Member Avatar for vikter

Hi, Kindly assist me on how to come up with a php script that can send sms via a cell-phone connected to my computer using AT&T commands

Member Avatar for Salem
0
128
Member Avatar for jameswoodhouse

Hi there, basically i'm trying to write a php script that allows me to retrieve the tour dates for my band from a MySQL table. I want the gigs.php page to show every upcoming gig that there is. On gigs.php i want a link to gigarchive.php which features all passed …

Member Avatar for diafol
0
149
Member Avatar for hitman123

I have created a search box which potentially works. But I wish to insert the results in to the text box rather than having them on the page. I've been working on this for literally 3 days but getting no where, please help. I have a text box and a …

0
49

The End.