39,402 Topics

Member Avatar for
Member Avatar for allhimachal.com

hello i am export file in php to CSV with this code: [CODE] <?php header("Content-type: application/x-msdownload"); header("Content-Disposition: attachment; filename=extraction.csv"); header("Pragma: no-cache"); header("Expires: 0"); echo "allhimachal.com"; ?> [/CODE] How i can export the color of allhimachal.com is red and font is bold in CVS file. please help me.

Member Avatar for filippo.toso
0
74
Member Avatar for Danieloc93

I have been looking everywhere and I can't seen to find a script that either lets my users upload their files with some information about them (Title, Description, etc) to my server or a php email form with attachment possiblities. I have tried phpMailer but I don't really like it. …

0
45
Member Avatar for unixmonkey

Hey All, I've been googling and phping (doesn't quite sound as good) and I can't seem to find any references or even what it is called. Here is my current situation: We have a webserver running at production.company.com In directories below that, we have web-applications such as production.company.com/timeTracker production.company.com/calculator production.company.com/geneticCloner …

Member Avatar for ShawnCplus
0
286
Member Avatar for antwan1986

Hi everyone and thanks for reading. I've been making a news section for a client's site and now I'm trying to make a little box for the front page to show the five latest stories. Everything is fine in that aspect; I know about using the LIMIT keyword in the …

Member Avatar for nav33n
0
2K
Member Avatar for scorpionz

Hi this is scorpionz I am having a problem regarding time in PHP. I want to insert time in my mysql DB as for example 10:12 AM or 10:12 PM As a matter of fact mysql will not accept this format, so i am taking a field as VARCHAR but …

Member Avatar for scorpionz
0
78
Member Avatar for nini83

hai..i have problem.. my problem is when checked radio button and click submit , the radio button not disabled and user can check again . what i want is i want that radio button disabled when click submit. i hope you all can help me....i'm very tension...:'(

Member Avatar for phpuser
0
106
Member Avatar for chicago1985

I am trying to translate the PHP script into Java. If anything please advise what or how this translates? PHP: [code] if(isset($_GET['getClientId'])){ $res = mysql_query("select * from tableOne where clientID='".$_GET['getClientId']."'") or die(mysql_error()); if($inf = mysql_fetch_array($res) ... [/code] My attempt in Java and it is giving me errors with getClientId part …

Member Avatar for nav33n
0
113
Member Avatar for dkv

I want to query exchange server through my php script. I downloaded class_http.php and class_xml.php. I am trying to run the example php script to find all the folders in the inbox for a user named 'twolf'. I changed the following parameters as follows: $exchange_server = "http://mail.msm.edu"; $exchange_username = "dkv@msm.edu"; …

0
65
Member Avatar for petr.pavel

Hi there, I have read a few articles about WordPress plug-ins and themes but I can't figure out how to create a completely new page that uses theme. Let's say that my blog is set up to display post detail with the following url: [url]http://myblog.com/2008/06/29/this-is-title[/url] I want the comments listing …

0
54
Member Avatar for chocciies

Hi all! I have a list of contacts with checkbox in every row. I want to delete multiple contacts via the checkbox but with no success. It would be greatly appreciated if anyone could help. Thanks in advance. <form name="form1" method="post" action=""> <p> <?php $cName = trim($_POST['cname']); //echo "Cname is …

Member Avatar for nav33n
0
91
Member Avatar for nathanpacker

This is partly PHP, partly javascript, so I wasn't sure where to stick it, but I'll stick it here. I'm sorry if this is a bit confusing, but I hope I can explain myself well. The below code queries a table in my database, and prints out a table with …

Member Avatar for francine
0
2K
Member Avatar for nilantha_php

plz help me i wanna read following to capture some specify values... plz hepl me &l4H (s3B (s16901T (s12HCharges Summary For the Mobile Service No 0712069069 (Mr. . .) of Account 1863480 _________________________________________________________________________________ Service Package Description : Corporate package for 750 CommBill No : 7810912 (s0B &d#DCall charges &d@ Outgoing …

Member Avatar for nilantha_php
0
128
Member Avatar for Spaiz

Run this...: [CODE=PHP] <?php function recrusion($array, $return, $pid=0, $level=0) { foreach($array as $id=>$parent) { if( $parent===$pid ) { $return[$id]= $level; /* remove "unset" for correct results */ unset($array[$id]); recrusion(&$array, &$return, $id, $level+1); } } } /* input array as id=>parent */ $array= array(1=>0,2=>1,3=>2,4=>3,5=>2,6=>2,7=>6,8=>6,9=>0,10=>0); $return= array(); recrusion($array, &$return); /* return array …

Member Avatar for Spaiz
0
176
Member Avatar for lndfrg

Hi, first of all I apologise for all the mistakes I am going to do writing in English. I will try to explain what I should do. I manage a web site where the owner like to put a sort of newletter for members. It doesn't sound so difficult... but …

Member Avatar for lndfrg
0
103
Member Avatar for mrcniceguy

I cannot upload more than 1mb photo into databases. i`m using wampserver.when it is below one 1mb it is uploaded. your help will be appreciated. Down is the code i used to upload photo. upload.php <form action="addphoto.php" method="POST" enctype="multipart/form-data"> <table cellpadding=0 cellsapcing=0 border=0 align=center width=450 height=50 bgcolor=gray> <tr><td><p><b><font color=blue>UPLOAD YOUR …

Member Avatar for Fungus1487
0
81
Member Avatar for ryy705

Hello, Running the following code returns FALSE. [CODE]$server = "smtp.gmail.com"; fsockopen('tcp://' . $server, 587);[/CODE] I know those are correct server address and port because I have ssmtp installed on my computer it uses those values to connect. But when use those values to connect from a real web server it …

Member Avatar for sDJh
0
93
Member Avatar for darcee

how to put icon on php? in my index.php where i can put the code? heres my index. php <?php include("./include/auth.php"); include("./include/top_header.php"); ?> <table width="98%" align="center"> <tr> <td class="textArea"> <strong>You are now logged into <a href="about.php">Cacti</a>. You can follow these basic steps to get started.</strong> <ul> <li><a href="host.php">Create devices</a> for …

Member Avatar for sDJh
0
129
Member Avatar for BillyMako

Hi, i am having problems displaying the second page of search results. I have applied similar code to a view all logs page which works perfectly but i am having problems making it work with search results. I think it might be a problem with $searchString, not sure??? Please help …

Member Avatar for ambrose
0
164
Member Avatar for mrrsx2006

I'm interested in learning more about PHP and MySQL. What source would you guys reccomend? I'm looking for something online that can first teach my PHP a bit better then the relation with MySQL. I don't want the main PHP site but some eBook or something maybe you guys can …

Member Avatar for ExplainThat
0
104
Member Avatar for phpuser

Hi,friends I want to display calender in simple way just like the calender display all months in first row,after then 15 days of any one month in second row just like dtpicker but all months displayed at the same time in one row. ref link:[url]http://www.tourstogo.com.au/tour.5143[/url] as given in link, i …

Member Avatar for phpuser
0
115
Member Avatar for shekhar52

...........please somebody help me with this ..... i want to display images contained in a folder (basically www dir in wamp)....... the images should be displayed on a webpage...... its like a search box.....you hav to enter the name of the folder to view its images....... ...............please help me with …

Member Avatar for DGStudios
0
75
Member Avatar for Kavitha Butchi

Hi all, Can someone tell me, How to wrap text around an image when the image source is in a php variable?Here is my code. [code=php] <html> <head> <style type="text/css"> #divider { background-color: #ccffff; border: 1px solid #ccc; padding: 0px; margin: 1px 0px 0px 0px; } .fndslist{ position: absolute; border: …

Member Avatar for Kavitha Butchi
0
232
Member Avatar for manor

Hello everyone, I am new to this community.. I have no clue how to go further with the doubt i am going to post. I am supposed to connect to XYZ(remoteserver) which uses mysql server and fetch data from it through my localhost ABC. I wrote my PHP script and …

Member Avatar for R0bb0b
0
113
Member Avatar for yournamehere

Hello everyone, I'm sure this has a quick answer/fix but I can't seem to figure out how to store a checkbox value to mysql. And I'm not sure what type I should be saving it as in the field on mysql(like bool, int, varchar). I have 14 check boxes and …

Member Avatar for nav33n
0
210
Member Avatar for cyberjorge

Good Day! Please help with my requirement, I'm more on a graphic designer and has little knowledge in programing, mostly on basic html only. I have a web page I created in Flash and exported to an html page. I need this to have a predefined username / password (pass …

Member Avatar for sDJh
0
130
Member Avatar for servis

can we connect from php to oracle 6. if it is possible then, how can we do it... regards shuja

Member Avatar for sDJh
0
48
Member Avatar for daveg8

Mainly in Firefox, and especially when the video is paused, the current image in the video will shift up or down if the user scrolls up or down on the main page. It seems almost as if the video itself is stuck at one specific location but the video viewer …

Member Avatar for sDJh
0
81
Member Avatar for Andrew F.

Can you take a look at this: [code] <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php $emai=$_REQUEST['txtemai']; $subj=$_REQUEST['txtsubj']; $mess=$_REQUEST['txtmess']; if (@mail($emai,$subj,$mess)) { echo('<p>Mail sent successfully.</p>'); } else { echo('<p>Mail could not be sent.</p>'); } ?> </body> </html> [/code] I keep on getting the else statements. …

Member Avatar for Andrew F.
0
196
Member Avatar for mrcniceguy

i have displayed all members in my site including there photos,which they uploaded. this is the view.php which image will appear for everymember who uploaded photo. <? echo"<img src=retrieve.php?id=$userid width=200 height=150>"; ?> retrieve.php <?php //PHP code (for images.php) if(isset($_GET['id'])){ $id = $_GET['id']; // Connecting to a MySql Database include"config.php"; //selecting …

Member Avatar for mrcniceguy
0
141
Member Avatar for punithapary

Hi , Can anyone tell me is there any other connection method(mysql with php) other than this.Please help me.. [code=php] $hostingname="localhost"; $username="root"; $password=""; $dbname="test"; $rr=mysql_connect("$hostingname","$username","$password")or die(mysql_error()); mysql_query($rr); mysql_select_db($dbname) or die(mysql_error());[/code] thanks Punithapary

Member Avatar for pritaeas
0
86
Member Avatar for fedalcoder

hi, Any one who knows HSBC payment integration please help me.URGENT! THanks fedalcoder

Member Avatar for KimberlyMon
0
153
Member Avatar for binukjames

[B][COLOR="Green"]I'm developing a wap site with wml and php. my php code is retrievig and displaying blob image from database. but i cannot include any wml part to this page. actually i want to display image from database with some links (wml or php). is it possible ? plz help …

0
62
Member Avatar for jaca123

Hi there, I have recently installed Apache and PHP on my PC and am trying to run it as a testing server. After creating a PHP mail() script I receive the following error in my Apache log file: "PHP Warning: mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at &quot;smtp.localhost.com&quot; …

Member Avatar for jaca123
0
87
Member Avatar for a4tech

Hi all, I am a beginner in using PHP. I have wrote a code that will retrieve the checkbox value after checking from database. Basically, it is a simple search where user has to check the value of checkbox in the form.It then will displaying the result after checking the …

Member Avatar for R0bb0b
0
105
Member Avatar for harrence

Hi all, I'm currently working on having 'artist_id' counted once only between two dates although they may have visited several times over that period. The following code works very well for counting the total number of visits. Any suggestions out there? Regards harrence [code] $sql = "SELECT * FROM artists_details …

Member Avatar for harrence
0
92
Member Avatar for padma525

hi i have a simple form with 4 radio buttons in index.php . if the user selects any radio button and click on the submit button then he will downloaded the corresponding .swf file associated with that radio buttons in next page as download.php. what ever the option is selected …

Member Avatar for filippo.toso
0
131
Member Avatar for scottholmes

I need to be able to parse out data fields from Open Office documents on the fly. I'm using tbsooo_class.php and I have a number of files with variable fields embedded. The code I have, derived from TBS (tiny but strong) parses out only the text. I need the entire …

Member Avatar for scottholmes
0
150
Member Avatar for antwan1986

Hi everyone, and thanks for reading. I've a client who will be wanting an events/news section for their website and I have a question about handling this information from a database. Lets say that the table consisted of: [CODE] story_id - To make each story unique. title - The title …

Member Avatar for ferminselvin
0
115
Member Avatar for sara933

hi my friends Is there any way that can use "matlab"codes in php?I want to use some matlb codes to make some changes in a picture every time the page is reloded and then show it in web page. is there any way to use matlab in web pages? Best …

Member Avatar for filippo.toso
0
83
Member Avatar for jencinas69

Hello I can not find a tab to csv converter, any one here now about a php file to convert tab to csv

Member Avatar for R0bb0b
0
208
Member Avatar for gargg321

Hi Guys, I am preparing a user interface to add values in a database table. For it I am using a PHP generator tool by the name of PHPMaker 5. In the table there is a field where I have to insert values through a pop up calendar. The UI …

Member Avatar for R0bb0b
0
93
Member Avatar for mrcniceguy

I want to diplay comments and in each comment there will be a checkbox: Now is there anybody who can tell me how use them in php so that when i select forexample 5checkboxes containing comment each,i will be able to DELETE them All at the same time.?

Member Avatar for R0bb0b
0
91
Member Avatar for psathish2

this is my code here i selected record from db and putted that 2 text box . but i modify the recored to store the db. below the code not working . <?php $jtitle=$_GET['jtitle']; echo $jtitle; $desc=$_GET['jdesc']; echo $desc; $hostname="localhost"; $username="cds"; $password="cds"; $dbid="cdsemplo_job"; $link=mysql_connect($hostname,$username,$password); mysql_select_db($dbid) or die("not connected"); $result=mysql_query("select * …

Member Avatar for nav33n
0
181
Member Avatar for psathish2

this my code user want click the edit it will go edit page and delete page.now i want delete the record the same this not going to delete.php. thank you <?php $jtitle=$_REQUEST['jobname']; $desc=$_REQUEST['jdesc']; $hostname="localhost"; $username="cds"; $password="cds"; $dbid="cdsemplo_job"; $link=mysql_connect($hostname,$username,$password); mysql_select_db($dbid) or die("not connected"); $result=mysql_query("select * from job"); echo "<table border='1'> <th>Jobtitle</th> …

Member Avatar for nav33n
0
2K
Member Avatar for LynkNow

Hello all, I'm new, of course... I'm here cause I need serious help on forum hacking.... I am currently using a free phpbb2 forum board... I don't have money to buy an Invision Board, so I wanted to use a hack that promoted phpbb2 forum profiles to look like Invision …

Member Avatar for selfhelpebooks
0
82
Member Avatar for 365resell

Hi i must be stuppid by missing something but im trying to insert a a code into my php script page: [CODE]<!-- Start Code --> <iframe src="http://www.365netmarketing.co.uk/adds/banner.php?action=b&t=true&ref=20&w=468&h=60&grp=13" width="468" height="60" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" allowtransparency="true" background-color="transparent"></iframe> <!-- End Code -->[/CODE] this is a banner call code and works great …

Member Avatar for 365resell
0
3K
Member Avatar for mgt

If I have the following code: <form> . . . <select id="lstOtherStuff" multiple="multiple" size="6" style="width:200px;"> </select> </form> and I need to pass the variable "1stOtherStuff" (which is an element in an array) to a PHP script, how do I do that? If I use the following code, I can access …

Member Avatar for ~s.o.s~
0
3K
Member Avatar for mustafaneguib

hey guys, the browser gives the following error when i open my webpage. [code]Line: 49 Char: 1 Error: 'null' is null or not an object Code: 0 URL : http://www.worldofpakistan.net/register.php[/code] the code of the page is as follows: [code=php] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" …

Member Avatar for nav33n
0
122
Member Avatar for wuodpam

I'm having a problem with displaying my profile images from a database .the upload works fine,but no image is displayed:Could you please help! I have the following code which cant work: 1. main profile page has the following script: <?php echo '<img src="XXXXX_XXX.php?id=$Current_Person_Id">'; --------------------------------------------------------------------------------- 2.the image page has the following …

Member Avatar for wuodpam
0
146
Member Avatar for maydhyam

I have a concern about my program....the files that I want uploaded vary n size....would that affect the upload? I did not set anything anywhere to enforce the file size to be uploaded, and only really small files are able to upload...

Member Avatar for maydhyam
0
398

The End.