39,326 Topics

Member Avatar for
Member Avatar for muralibobby2015

hello... i am doing mail concepts. in this i want to send a dynamic attachments with email. actually user gets email with attachment. this attachment will be dynamic. how to create dynamic attachment for email.i tried this. but no use. anybody help. i have 'attachments.txt'file with content [CODE]User Name: <<name>> …

Member Avatar for muralibobby2015
0
124
Member Avatar for ofir0803

i want to find all occurrence of a string: "coords"" within another, but i only can found the first and the last ( stripos() and strripos() ) [CODE]<body> <img src="page.jpg" border="0" usemap="#fghf" /> <map name="fghf" id="fghf"> <area shape="rect" coords="10,71,258,236" href="#" alt="some_alt" title="some_title" /> <area shape="rect" coords="258,72,506,237" href="#" alt="some_alt" title="some_title" /> …

Member Avatar for ofir0803
0
186
Member Avatar for rakibtg

how to make a email form that can send one email to 20 email address, or from which website i can get a free copy of this types of emil form php script

Member Avatar for MooGeek
0
40
Member Avatar for shafeequeom

I am starting a small download site.I want a best CMS software were i can choose my template or were i make atemplate acoording to my choice with out scripting

Member Avatar for Shanti C
0
45
Member Avatar for sedalnas

Hi, i have a problem in downloading pdf files that is when i click the download button it just download a text file contains unreadable and unrecognizable words and numbers , so can any one help me to solve this problem my code to download a pdf file is : …

Member Avatar for sedalnas
0
129
Member Avatar for lancevo3

I am working on a small program to hopefully use for my work and what I have so far is there is a home page where the user can select the number of forms they desire, which will then lead them to a page where the forms are. I want …

Member Avatar for lancevo3
0
101
Member Avatar for ivanichi

I want to make layout like this...(in attachment) please some one help me, the problem in [B]z-index[/B]...i can't edit [B]input text[/B]. thanks all.

Member Avatar for ivanichi
0
66
Member Avatar for iroyal

Hey im new around here so if i get something wrong tell me :D I have this code [CODE]$txt = str_replace("#", "<a href=user.php?user=$txt></a>", $txt); [/CODE] I want it to when a user tags someone using # it goes to the user.php?user=WHATEVER#WAS. Its just like twitter is this possible and simple?

Member Avatar for iroyal
1
142
Member Avatar for rajesh1158

echo '<a href="javascript:void(0)" onClick="javascript:chatWith('.$result[3].')">'.$result[3].'</a>'; only the $result[3] between the <a> and </a> gets displayed....i want to display also the $result[3] within the javascript function call....is thr any error in it??

Member Avatar for dcdruck
0
59
Member Avatar for etftw

Hello, I am currently passing some HTML through to preg_match and I want to access all the HTML between two tags, however as the same tags may be repeated afterwards my current expression isn't working. For example, my expression at the moment is [code]<li>(.*)</li>[/code] But as the HTML is like …

Member Avatar for pritaeas
0
92
Member Avatar for samaniac

Hey guys, I have been trying to create a registration page for a while now, and I just can't seem to get it right. Could any of you help me? I currently have 3 php pages. The first is the homepage, which also includes a sign up form: [code] <form …

Member Avatar for drjohn
0
155
Member Avatar for j2dao2dae

Hi, I am after some advice, any would be very much appreciated. I want to create a members area, members login and their information is displayed. I have created the login and register pages and now I am at the stage of having a MYSQL database with information in relevant …

Member Avatar for mrcniceguy
0
101
Member Avatar for scourge.hellion

[CODE]<html> <body> <?php $var=$_GET['stuff'] . "\n"; $fh=fopen('savedstuff.txt','ab'); fwrite($fh,$var); fclose($fh); ?> </body> </html> [/CODE] well i have noticed that $var only takes string of length 250 anything greater than that it doesnt write it in the savedstuff.txt i.e [CODE]javascript:void(document.location="hellion/test.php?stuff=" +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxaaaaaaaaaa)[/CODE] the number of x's = 250 so when run the above …

Member Avatar for chrishea
0
69
Member Avatar for azegurb

Hi all I have one problem. I have created one little admin panel. and when i submitted a post and i refresh it again it automatically posts the post again. it posts as many as i click refresh. who can help me to eliminate this problem. here is my problem. …

Member Avatar for azegurb
0
118
Member Avatar for attism

This is the code from my main.template.php: [CODE=php] <div class="', ($var % 2 == 0 ? 'index_left':'index_right') ,'"> <div class="content_box"> <h2>', $category['title'] ,'</h2>'; foreach ($main['files'][$category['id']] as $file) { echo ' <div class="file file_index"> <div class="icon"> <a href="', $file['url'] ,'"><img src="', $file['image'] ,'" width="', $settings['image_width'] ,'" height="', $settings['image_height'] ,'" alt="', $file['title'] …

Member Avatar for attism
0
101
Member Avatar for miganper

Hi, i have working with an aplication ... this: [url]www.plantasic.es[/url] and like you can see, by clicking in a line at the right, each one displays a different image. When the image is loaded, there's a javascript code for re-measurement, for adjusting to the available screen area. The easy implementation …

Member Avatar for miganper
0
265
Member Avatar for muralibobby2015

hello, i have to display google images in my website. i would like to add google images in my wishlist simply drag the image into dropbox. it will add into my wishlist. for this i am using this code. this code is from [URL="http://demos.hacks.mozilla.org/openweb/DnD/"]mozilla[/URL] but it is not working in …

Member Avatar for madCoder
0
131
Member Avatar for ddggttff3

Well im currently coding up a paypal payment system to go with a user system for a site, and when someone goes through paypal, paypal pushes info to this script. Problem is, the script does not log anything to MySQL, and I can't figure out why. Anyone here want to …

Member Avatar for ddggttff3
0
249
Member Avatar for prettyrein

Now, I have another problem about duplication validation of my data in db.. the message "...already exist" if function validate was through. now if I add a new data, same message pop up...and i can't add new data. I try to reverse my return value and I can add but …

Member Avatar for prettyrein
0
128
Member Avatar for Mi-Dia

Thanks to a little guidance here I have written a function for getting part of a string returned. [CODE]function getcontent($tag,$string) { $pos1 = stripos($string, '<'.$tag.'>'); $pos2 = stripos($string, '<'.$tag.'>'); $content = substr($string, $pos1, $pos2); return $content; }[/CODE] [CODE]print $content('row','Hello world <row> bladh </row>');[/CODE] output would be "bladh"

Member Avatar for blocblue
0
314
Member Avatar for shafeequeom
Member Avatar for quibbie

Ok, here is the problem. I have an article directory and there are over 200 categories. When you go to a category it shows like 15 articles and at the top right and lower left it has like: Page: 1 2 3 4 5 6 7 When you are on …

Member Avatar for diafol
0
162
Member Avatar for prettyrein

Hi, I have this error Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\Program Files\xampp\htdocs\nsubackend\lib\model\classLabType.php on line 9 & same in line 52. here's my code: [CODE]function __construct($id=0){ $con = new connection(); $query = "SELECT * FROM tbllabtype WHERE labtypeID='".$id."'"; $res = mysql_query($query); if(mysql_num_rows($res)>0){ $row = mysql_fetch_array($res); …

Member Avatar for diafol
0
219
Member Avatar for amit_kuetcse2k5

Hello, I cannot create upload progress bar with php.I am a new php programmer.Have any idea?Please help me. Thanks Amit

Member Avatar for blocblue
0
150
Member Avatar for chicagoan

Seems simple enough right? I have put many hours into a solution...and nothing. I have tried multiple scripts and codes. Finally, I decided to ask for help. Here is the background... - PHP web site - Homepage shows images from database - Images are pulled randomly and displayed on homepage …

Member Avatar for branding4you
0
290
Member Avatar for edmundoswald
Member Avatar for prettyrein

Hi, i have this error : Strict Standards: Non-static method department::showAllDepartment() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/nsubackend/lib/controller/mainController.php on line 577.. and heres my code: [CODE]574 function showDepartment(){ 575 require_once('lib/model/classDepartment.php'); 576 new department(); 577 $departmentID = department::showAllDepartment(); 578 579 if(isset($_POST['addDepartment'])) $this->addDepartment(); 580 if(isset($_POST['updateDepartment'])) $this->updateDepartment(); 581 …

Member Avatar for prettyrein
0
184
Member Avatar for edmundoswald

how do i create php page with the following attributes(emp_id,emp_password,emp_address,emp_fname and emp_lname)tha will be posted to the data base?

Member Avatar for lyrico
0
306
Member Avatar for prezblog

Hi all! I'm putting together a WordPress blog, and I'm trying to make it work with a standard template called "Tribune." It uses custom tags on posts to apply thumbnails and featured images. I can't quite figure out where to place the code in the index file to get it …

Member Avatar for Kraai
0
183
Member Avatar for arunss

Hi, I have a bulk of pdf documents. I want to read that using php script. I searched a lot, but everyone is about creating pdf files. Here I dont want to create pdf file but I want to read it. Is there any way to read it php? -Arun

Member Avatar for chrishea
0
194

The End.