39,320 Topics

Member Avatar for
Member Avatar for talktoade

Dear all, I encountered the following error while trying to generate PDF file in my HTML code. It is same report while creating it in PHP. Warning: main(fpdf.php) [function.main]: failed to open stream: No such file or directory in c:\wamp\www\projectcode2\pdtest.php on line 3 Fatal error: main() [function.require]: Failed opening required …

0
70
Member Avatar for aditi_19

Hi, I have created logout.php page which destroys all the session variables. Basically i want the the user to get directed to the Login page after logout button is pressed. But when the BACK button of the browser is pressed(even after logout), the user is still able to see other …

Member Avatar for aditi_19
0
184
Member Avatar for Sevenupcan

I'd like to know if it is possible to save or create an image made up of other images. The easiest way I can think of would be to have all the images as transparent pngs of the same height and width and then merge them together. Is it possible …

Member Avatar for samarudge
0
114
Member Avatar for Reliable

Hey everyone, Just seeking opinions as to whether or not you think it's wise to tackle learning more than one programming language simultaneously (eg..PHP and Action script 3.0). Ive noticed that languages have similarities which could lessen the learning curve for the ones you learn after the initial one. On …

Member Avatar for chrishea
0
108
Member Avatar for BigDan531

heey guys i need some help with the PEAR package. i have some code which i would like to send emails through, however, i do not understand the documentation available on the web. Do i need to install it?. If i need to how? Or do i just put it …

0
58
Member Avatar for sfrider0

This is part of the code to a login form. The only file is index.php. The code continues but it what you get after you have successfully logged in. It doesn't matter what I put the the login form, when I hit the "log in" button, if just reloads the …

Member Avatar for sfrider0
0
166
Member Avatar for Vortex05

Hello, I'm sarting a new project, a invitation to tender (Request For Proposal) website, but I have no idea about how to script it, is there any pre-made script for this knid of website or could you tell me how to script it, I mean the way it works. Thank …

0
40
Member Avatar for angryfans

I'm trying to display a certain amount of words on one page from a database entry. For ex., on my main page I want to display the first 50 words of a story then a link will lead you to the rest of the story. I kind of know what …

Member Avatar for diafol
0
110
Member Avatar for mrcniceguy

i got this script,in one of the very old artciles in sitepoint. everything is ok!except that PNG and BMP images are not resized. giving this errors [code=php] Warning: imagecreatefromwbmp() [function.imagecreatefromwbmp]: 'thumb/tb_128448486.bmp' is not a valid WBMP file in C:\wamp\www\wallsnap.php on line 97 Warning: imagewbmp(): supplied argument is not a valid …

Member Avatar for mrcniceguy
0
234
Member Avatar for u8sand

Hello, I have my own website where I make programs and put them up on my web page, it has info on the programs ext.. I also allow other people to put up they just have to e-mail me with a specified template. But I want to make this easier …

Member Avatar for diafol
0
263
Member Avatar for sarithak

Hi friends.. I am going to do the project in different languages...Anybody explain me how to do that...any procedure...any softwares...atleast how can i start the project... Thanks in advance..... Advance Happy Rakhi TO All

Member Avatar for diafol
0
268
Member Avatar for papermusic

update.php [CODE] <?php session_start(); if (!isset($_SESSION['user'])) { die ("Access Denied"); } if ($_POST['submit']=='Update Information') { $name_box = $_REQUEST['name_box']; while (list ($key_check,$val_check) = @each ($name_box)) { $value_check .= $val_check.","; } $all_value_check = substr($value_check, 0, -1); } ?> <?php include 'dbc.php'; $user = $_SESSION['user']; $query = "SELECT * FROM student WHERE user_email …

Member Avatar for diafol
0
896
Member Avatar for heroic

i need to access the detailed search result page using curl, but for some reason i am not able to do so... Please help! The site is [url]www.justdial.com[/url] and i am searching for a* ... on the very first page there is a listing from banglore... i want to be …

Member Avatar for diafol
0
112
Member Avatar for bestscripts

hi hi... i'm working on this script for students to check their grades online. all they need to do is to login using their user id (which is auto generated) and matric. no. This will then display their details and grades. However, the tricky part for me is that they …

Member Avatar for ShawnCplus
0
52
Member Avatar for Notuo

Hi. I have a kind of old script for polls that I heavily modified it during years. The main code still there. Today i realize that is using register_globals On (tested new changes in a local xampp installation). Is there any good information regarding register_globals On|Off around to share? I …

Member Avatar for Notuo
0
90
Member Avatar for navi17

which is the best php editor for linux ubunto? i m using komodo right now but it is very slow. pls suggest something?

Member Avatar for ShawnCplus
0
128
Member Avatar for whiteyoh

Hi All, Im busy working on a practice area for a CMS. I have it set so on a click, the edits are saved to mysql, but what im really after is a pop up window to show how it will look. ive tried java script, but the likes of …

Member Avatar for whiteyoh
0
174
Member Avatar for reidphp

I could not figure out how to pass data to next page. Here is my code. I hope someone who can help me with it. I am trying tp pass id=$_get['id']. Can someone look at the code and tell me what I do wrong. I am kind of new on …

Member Avatar for Mel64
0
139
Member Avatar for itsrahulk

Hi Folks, I want to maintain all the fields of the Form i.e when a form after posting return with some error then values in the other fields must be retained. Kindly tell me few good methods to do this. Thanks.:icon_wink:

Member Avatar for soldierflup
0
82
Member Avatar for ayuscomeyh

update.php [code] <?php include 'recipe2db.php'; // get value of id that sent from address bar $id=$_GET['id']; // Retrieve data from database $sql="SELECT * FROM recipe WHERE id='$id'"; $result=mysql_query($sql); $rows=mysql_fetch_array ($result); ?> <form name="form1" method="post" action="update_ac.php"> <table border="1" cellspacing="0" cellpadding="3"> <thead> <th>name</th> <th>ingredient</th> <th>how to cook</th> <th>category</th> </thead> <tr> <td> <input …

Member Avatar for arajapandi
0
115
Member Avatar for kako13

Hi, In [B]search_results.php[/B] I have a variable named [B]$path[/B] which display something like: [I]C:/documents/personal/home.doc[/I] I would like to create a [B]button[/B] that link to a new window which is going to display: [I]C:/documents/personal/home.doc[/I] Right now is being displayed in search_results.php like this: [CODE=php] echo "<td align=left bgcolor=$bgcolor id='title'>&nbsp;<font face='Verdana' size='2'>$path</font></td>"; …

Member Avatar for Airshow
0
163
Member Avatar for shaiss

I can't figure out why this snippet of code isn't working :facewall: any ideas? [code] $productref = $order_detail[$i][2]; //#2 is the product ID $orderqty = $order_detail[$i][3]; //#3 is the SKU #[/code] The Array: [code] $order_detail array 0 array id_order_detail string = 1 product_id string = 7 product_qtantity string = 1 …

Member Avatar for Airshow
0
123
Member Avatar for zeusofolus

I have a table with entries for ItemID and Amount ... I am querying this table and displaying the contents from the previous date by itemID and amount. I have the array grouping the items by Item ID what would like to be able to do is to get a …

Member Avatar for zeusofolus
0
129
Member Avatar for CFROG

I'm working on a script that lists the number of additional records associated with a record id and returns the number as well as a link to each additional record. It works fine for the first record ... it tells me "4 additional records: and lists the links 1, 2, …

0
69
Member Avatar for kbjustin

I have only been working with php and html for a few weeks now and i had a question about where is the proper place to put the <html> tag. Should I always put it as the second line(after the DOCTYPE) and then embed the php within it or can …

Member Avatar for ShawnCplus
0
79
Member Avatar for HughLa

I can't get my sessions to work on my hosting account even though I had my site running perfect on my machine's xampp setup. The sessions just won't last at all. I dont know what the problem is. Is there a setting I have to change or something to make …

Member Avatar for chrishea
0
51
Member Avatar for dorkwad

i am a real noob in php i have a php url say [url]http://xxxxxx.php?chat=[/url] if i give zzz at the end of the url like this [url]http://xxxxxx.php?chat=zzz[/url] the output is yyy i want a script to get the zzz from another script using $_REQUEST['msg'] and the final output of the …

Member Avatar for dorkwad
0
101
Member Avatar for kako13

Hi, A user go to search.php and input the term. If the user want to search for an exact prhase it add to the search term " " just like Google do. Example: "apple" But when the variable is passed to search_results.php it look like this: [CODE=php] //search_results.php $var = …

Member Avatar for kako13
0
172
Member Avatar for lovenish
Member Avatar for pritaeas
0
28
Member Avatar for ayuscomeyh

i delete a row of data from this [code] ........ <a href="delete.php?id=<? echo $rows['id']; ?>">delete</a> [/code] delete.php [code] <html> <body> <?php include 'recipe2db.php'; // get value of id that sent from address bar $id=$_POST['id']; // Delete data in mysql from row that has this id $sql="delete from recipe where `id` …

Member Avatar for pritaeas
0
56

The End.