611 Posted Topics

Member Avatar for BSauer

You want simple one. Check this out. [CODE] my @S=("hello","ben","foo",,"","bar","rose","world","foo",'loo'); foreach (@S) { print(s/\",'*//,$_); print "\t"; } ## OUT PUT hello ben foo bar rose world loo [/CODE]

Member Avatar for d5e5
0
1K
Member Avatar for ajguitarmaniac
Member Avatar for ajguitarmaniac
0
204
Member Avatar for Inês

At least why cant people look around before they post something? And please post your code. Show that you are doing something yourself. We are not workers but helpers. ;)

Member Avatar for richieking
0
102
Member Avatar for hi5.ankit
Member Avatar for ivan3510
Member Avatar for anraevlus18

Perl module installation is very simple. [CODE]perl Makefile.PL make make test make install # You may need to be root make clean # or make realclean[/CODE] navigate to the folder you saved the downloaded tar. just extract it. using your CMD line. change to SU mode. Run the above snippet …

Member Avatar for richieking
0
167
Member Avatar for Ender330

You can do that but i will advice you to store your paths in DB. As folder grows, sorting becomes a very big issue. 1. You must have a very logical naming for your images. eg. the big image named big2233.png and the small one sm2233.png. ID. 2.In this case …

Member Avatar for Ender330
0
94
Member Avatar for mattyd
Member Avatar for richieking
0
144
Member Avatar for Roger101
Member Avatar for d5e5
0
1K
Member Avatar for ajay_p5
Member Avatar for richieking
0
327
Member Avatar for john22
Member Avatar for richieking
0
466
Member Avatar for ryan311

Hi, check your code here. 6,7,8,9 for($c=0;$c<8;$c++){ if(isset($_FILES['uploaded_file['.$c.']'])) { You have indicated for loop with 8 iterations. On your upload form its less than that. Not a good sign. why cant you do it simple like [CODE] for($i=0;$i<count($_FILES);$i++)// U can use $_FILES super global array to catch all files. Thus …

Member Avatar for ryan311
0
189
Member Avatar for muneer_alam
Member Avatar for nuttyniall

Hi Nail, You are using a check that works only on digits/numbers. Try and use this. [CODE] if ($auth ne "Admin"){ print "foo"; } [/CODE] This should work ok? Have fun ;)

Member Avatar for richieking
0
157
Member Avatar for ghosh22
Member Avatar for nuwan
Member Avatar for TheSecOrg

And dont forget to regenerate session id in the future. There are bad guys out there. Also unset_session after successful exit of account.

Member Avatar for TheSecOrg
0
755
Member Avatar for rsashwin

[B][COLOR="Red"]"The lenovo technician told that this laptop does not support dual boot. "[/COLOR][/B] Some rusty technician out there. :)

Member Avatar for elsiekins
0
142
Member Avatar for Shaswat

I will do you a clean php perl chat application. what about that. Explore :) let me know if you want it. ;)

Member Avatar for Elihu5991
0
160
Member Avatar for dfaulted

Look just silent the array or variable with @ sign. You must have just had apache update lately i think. USE @ to suppress the warning. its not error. Dont touch your working code ok? Explore :)

Member Avatar for mschroeder
0
278
Member Avatar for amittal2089

And also try to read your variables like this.. my $d=param('foo') to check with post and my $d=uri_param('foo') with get. debugging stuff ;)

Member Avatar for richieking
0
49
Member Avatar for Mahaa

[QUOTE]If you're interested in learning Perl for Web apps, the easiest way to do it is to install Wampserver or Apache and Activestate Perl on your machine - Wampserver is an all-in-one with Apache, Perl, PHP and MySQL packaged with it. There are some other servers out there but I …

Member Avatar for richieking
0
2K
Member Avatar for dotmandd

Apache have a very limited permission to execute programs to affect the system directly. Please post your code. :)

Member Avatar for richieking
0
2K
Member Avatar for andydeans

Its possible but some bad guys will use your server for spamming spree. do you really need this?? :)

Member Avatar for richieking
0
155
Member Avatar for pallen

Hello pallen, try this this works like a search engine script. [code] // concatenate all your variable like this. $foo=$bar.$name.$isnd.$momo; $query = "SELECT * FROM classics WHERE MATCH (author,title,year,isbn) AGAINST ('$foo' IN BOOLEAN MODE); [/code] Know that this will work just like how google search engines work. it will pull …

Member Avatar for richieking
0
262
Member Avatar for cpappas

ITS possible with php and perl too. you must have a session cookie check on your page and you do a header location. Let me now if you want more info and i will assist.

Member Avatar for cpappas
0
187
Member Avatar for abstrand

Why this??? All this concatenations ??? from line 6-14. Writing code like this means you want a bug. you could do all that in a very simple like this. [CODE] $message =" New Contact Information $row[FIRST] $row[LAST] $row[AGE] $row[GENDER] $row[EMAIL] Cell $row[CELL] Home $row[HOME] $row[CITY] $row[LOCATION] $row[TIMEBLOCK] $row[PREFCTCT] $row[COMMENT] Fitness …

Member Avatar for richieking
0
1K
Member Avatar for nonshatter

Hi friend, Your job is done. be happy :) [CODE] <?php $html[0] = " 1 Full, Gen. 3 TMSWK2D 9 Poor write quality"; $html[1] = "2 Full, Gen. 1 TMSWK2C Read Only, Clean Tape"; $take =preg_split("/\ /", $html[0]); for($n=0;$n<count($take);$n++){ print($take[$n]); echo "<br/>"; } ?> Just cut and paste. Explore ;) …

Member Avatar for nonshatter
0
119
Member Avatar for dev.vini

watch this simple steps. [code] $foo="Delete from foo where file_path='$fPath' and name='$name'"; $d= mysql_query($foo); if($d){ unlink("/path to file/$fPath"); } [/code] you get the idea? :)

Member Avatar for richieking
0
88
Member Avatar for samarudge

i Think its cool. Just @ the header @header. IE will try to mess-up without it on xp sp1.

Member Avatar for richieking
0
97
Member Avatar for el33t
Member Avatar for ryan311
Member Avatar for richieking
0
172
Member Avatar for pearll

Try this login page. Just scribble some thing just now but should word fine. [code] myCon();//database connection myDb(); //database selection // your work on post variables $uName=strip_tags(addslashes(trim($_POST['uName']))); $password=strip_tags(addslashes(trim($_POST['password']))); $remember=strip_tags(addslashes(trim($_POST['remember']))); $logIn=$_POST['logIn']; $password=sha1($password); if($_GET['logout']==1){ // logout part session_unset(); // and unset session echo " You just logout";// logout notice header("location:/index.php"); //and direct …

Member Avatar for pearll
0
204
Member Avatar for timpogue

you can also do this simple on php. this is very simple function. ha ha [CODE] <?php funtion foo(){ // first receive the post variable from the form $bar=$_POST['num'] ; $numberDetails= split ('+',$bar); // split and take details for ($c=0;$c<count($numberDetails);$c++){ // basic run through $hoo+=$numberDetails[$c]; } echo "The sum is …

Member Avatar for mschroeder
0
95
Member Avatar for WaleedaaN

You are doing a lot of hand coding there. hoooop I dont remember the last time i did this. Very time consuming and slow. Try more iteration functions. Thats whay they were made for. It will cut your code from 500 lines to 200 or less i think. :) explore

Member Avatar for WaleedaaN
0
118
Member Avatar for Clarkeez

YOu can do this with perl... php is a bit limited when it come to system interactions. Explore :)

Member Avatar for richieking
0
91
Member Avatar for anyname4u

Try and echo messages on your file to track the flow of your code. debuging is very important. You have 2 includes so no one can know what the 2 includes contains. Try echo bug checks ok?? very handy php error check Explore :)

Member Avatar for richieking
0
94
Member Avatar for yoni0505
Member Avatar for niths

Howdy, mothergoose3 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 455120)' at line 5 INSERT INTO books_readingnow (brn_booksid, brn_started, brn_ended, brn_usernum) VALUES (65412340, 1284955200, , 455120) - fatal error (31.1) rerun you …

Member Avatar for richieking
-1
343
Member Avatar for dschuett

you should also have a logout script to help user log out. once the user clicks on the link.... bam logout.php and unset the session there. security is the best form of programming. Explore :)

Member Avatar for richieking
0
7K
Member Avatar for pearll

And make things easier for your self in the future. learn how to insert php quick tags in html. Very handy :)

Member Avatar for richieking
0
138
Member Avatar for pearll

Can you please point me to where you think there is problem. what line or share more idea??? Just cant read through all your code now but i will be online for the 2 hours. waiting for your reply :)

Member Avatar for richieking
0
106
Member Avatar for anoopkris123
Member Avatar for vibhaJ

Change the php ini conf. php_ini_set. learn that. :) literal max execution time= 20hours, max upload =5G But why not simple ftp function. why do you care about this java uploader. reading dynamically xml and mp3 should not be any hard. HTTP long upload gives your server out for exploitation. …

Member Avatar for richieking
1
155
Member Avatar for Manny7

Try this, nice and easy stuff ;) [CODE] $foo= split(",", $bar);// You got them in //then get them like this for($d=0:$d<count($foo);$d++){ echo $foo[$d]; // Print them out. } [/CODE] Explore :)

Member Avatar for mschroeder
0
115
Member Avatar for sistrlynn

Hi, Just stop the php flow and start a normal html with quick php inserts. like <tr><td><?=$row[foo]?></tr></td> very handy :)

Member Avatar for richieking
0
298
Member Avatar for lewashby
Member Avatar for Stefano Mtangoo

You are everywhere mmm. evstevemd...!! go baby go ubuntu..!! but fix this bug. [COLOR="Red"]dkimproxy[/COLOR]. It is killing ubuntu noob. We need to keep all the noobies. we need numbers for now not quality.

Member Avatar for richieking
0
162
Member Avatar for tomtetlaw

upgrading Ubuntu 10.04 server to 10.04.1 server randomly touches mysql socket. There has been issues on this and proftp, and email clients. some random shows!! :)

Member Avatar for richieking
0
181
Member Avatar for coolhandnuke

Try ubuntu. mine runs cool on ubuntu without any funny issues. you need stability and windows aahhhh.???

Member Avatar for richieking
0
109

The End.