- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
45 Posted Topics
Re: [QUOTE=ZenMartian;528989]Hi Folks! This is probably an easy one for most of you php people :-) I've got a PHP form that's working fine, yet after I SEND the form, it goes to a web page with a "Thank You" message on it (ala the php {print} command), ok... what I … | |
Re: [QUOTE=bobchrist;520499]dzone.com has similar concept[/QUOTE] DZone seems to be more geared towards programmers/developers than simple web designers. With that in mind, I love DZone and go there far more than any other social bookmarking site. The rest are just a pot luck mix of crap, while at DZone I know I'll … | |
Re: [QUOTE=jameslittle;218948]I've been working building the links to my sites. More often than not, it does help in term of PR gain. But not really that much on getting the desired traffic. :-| I guess to get traffic, I ought to look more into "social networking" sites and be interaction with … | |
Re: [QUOTE=mriza;515859]I see nofollow on link tag on all our signatures in this forum (From Page source), it's mean Google would not follow all our signatures links on this forum. :D (Please web master remove this nofollow)[/QUOTE] You may have noticed that the "Visit XYZ's Homepage" link attached to your name … | |
Re: [QUOTE=Woobag;509358]edit - I tried wrapping the PHP code in <pre> tags and that did the trick, still trying to understand why it does not work without them.[/QUOTE] As other people have pointed out, the reason this doesn't work without a <pre> tag is that HTML ignores normal whitespace characters. The … | |
Re: [QUOTE=zuniza;516836]i'm new in this field.my lecturer want me to made up some project.i want to made an academic portal that have a forum inside that.how can i made it by use html,php or what?please help me?[/QUOTE] Building a forum from scratch would be an interesting project... but long and unnecessary … | |
Re: [QUOTE=aliyesami;524991]what I would like to do is to be able to offer a drop down list of values to select from ( which will come from a table in oracle) instead of the user remembering n entering a value, how can i achieve that ?[/quote] In HTML, what you're looking … | |
Re: I assume you mean e-mail the link to the person. If you want to e-mail the actual page, that's a little different... The most basic way to do e-mail a message would be to use the [url=http://us.php.net/manual/en/function.mail.php]mail()[/url] function. mail() takes a few parameters [list] [*]$to - the recipient's e-mail address … | |
Re: [QUOTE=kishou;518798]ok i cant seem to log in with a regualr password. this code works fine without md5 but it doesnt work when i use md5. yes i've already connected and selected database.[/QUOTE] How is the password stored in the database? You say the code works fine without md5 but it … | |
Re: Some of that (changing the colors of the text and whatnot) you can do with CSS styles. The rest (changing the actual text) requires that you use a scripting language like Javascript. For the styling (changing text color, background color, etc) you can apply a style to input buttons. With … | |
Re: I'm a bit confused as to why all of the replies so far are about whether or not the site is a Flash site. The OP already stated that it is driven by Flash - he wants to know how to produce something similar on a Linux machine. To that … | |
Re: [QUOTE=rebsysue;528802]I recently installed wordpress to make it easier for me to update the site. Then I noticed I wasn't getting anymore traffic from google. So I typed both my name and separately the full url into google and in both cases google does not return even one result within my … | |
Re: [QUOTE=joker40;543954]where are i am waiting .......[/QUOTE] Well, if you're waiting for someone to do your homework for you... you'll probably keep waiting. Here's a hint, though. Use a loop that will continue to execute until you get to the last person. Find a data structure than can hold the 'n' … | |
Re: [QUOTE=j3p0yz;515516]hi to everyone.. can anyone here in the forum an teach me hoe to configure "SMTP" and "smtp_port"[/QUOTE] There are a couple of ways to do this. The most direct, permanent and effective way is to edit the php.ini file. If you're running php on a local server (i.e. your … | |
Re: [QUOTE=scorpionz;535521]So Guys How can i Fix this issue so as to get through to my wprk[/QUOTE] Well, the best way to do that would be to remember the password you used. In lieu of that, you can log in as the root user and modify the password for the user … | |
Re: [QUOTE=Beks;535249]That's great, thankyou (although still having great difficulty!!) Sorry to be a pain, but is there a quick simple way I can display a static page on the URL whilst I figure this out? My boss isn't too pleased.. oops Thankyou![/QUOTE] You can dynamically check to see whether or not … | |
Re: [QUOTE=nirmalarasu;529818]Thanks i wanted to know whether python installed as default package in all flavors of linux.[/QUOTE] Well, then time for you to do a little data collection and research. =) I'm sporting Ubuntu Gutsy Gibbon, and it came with Python pre-installed (although I had to install the mysqlDB package myself). … | |
Re: [QUOTE=fenixZ;532455]See there are some wrong thing in security with your code but now I am going to tell you syntax errors only (cause security is very deep....)[/QUOTE] What he's trying to say, is you should never insert user input directly into the database. There are a number of ways a … | |
Re: Most of your code seems to be fine, but I'm a little confused as to what the $week_cycle is supposed to do. I took your code and worked out the example script (at the bottom of this post). It starts with a beginning date - I entered the first day … | |
Re: [QUOTE=xeeb;530483]is it possible to obtain information from websites like this one if they do not provide RSS Feed?[/QUOTE] I don't think so. Flash does a good job of wrapping up all the information so that you can't easily manipulate or edit it. Is there another site for Korean showtimes (like … | |
Re: [QUOTE=halifaxer;529752]Not even sure if this does belong in this section, but please redirect me if it doesn't. For those of us that have affiliate sites, most affiliates provide us with data feeds or specific data feed url with whcih we can link and extract information for our websites.[/QUOTE] If by … | |
Re: [QUOTE=hapiscrap;527835]I recieve the following at the w3c validate page: Validation Output: 2 Errors Line 1, Column 22: character "“" invalid: only minimum literal and parameter separators allowed. <!DOCTYPE html Public “-//w3c//DTD XHTML 1.0 Transitional//EN”[/quote] You need to change the quotes around your doctype stuff. Notice how they slant in and … | |
Re: [QUOTE=ryy705;513855]Hello, I just used the crypt command on 'password' and 'password1' and got identical output!! What are the rules concerning the crypt function? Am I not allowed to use numbers? EXACTLY what am I allowed to use? Many thanks in advance.[/QUOTE] According to this [url=http://us3.php.net/manual/en/function.crypt.php#47761]comment on php.net[/url], certain situations will … | |
Re: [QUOTE=cancer10;525294]I am new to PHP oop. I was wondering when and why should we use the following: 1) Public 2) Protected 3) Private 4) are there any other???[/QUOTE] The link that Naveen posted has a good overview of these OOP concepts. No, there are no other types - just these … | |
Re: [QUOTE=dami06;524355]ok may be i'll try and create a new login in page from scratch.thank you for your time[/QUOTE] That would be your best bet. It's particularly hard to help someone that doesn't understand the code at all - so I would always suggest learning the basics before you try and … | |
Re: [QUOTE=Venom Rush;523376]1.) What different types of attacks are there against websites besides brute force attacks (been reading this thread on brute force attacks: [url]http://www.daniweb.com/forums/thread82966.html&highlight=login+security[/url])[/QUOTE] You've also got to watch out for scripts that get uploaded to your server and give someone remote access to your file system, db, etc (like … | |
Re: [QUOTE=creativehacker;524163]My idea is to store username and password in a php file and update them.[/QUOTE] I'm not sure if this would be the best way to do it... However, the basic functions you'll need to use are PHP's file functions. The simplest way to do it would be... [code=php]$fileContents = … | |
Re: [QUOTE=AP1;523630]Parse error: parse error, unexpected T_INCLUDE_ONCE in /home/content/B/r/1/Hidden/html/-APPI-/NAV/allied_footer.php on line 26[/QUOTE] This usually comes from having a missing semicolon. The previous statement was never closed, so PHP isn't ready to begin a new statement - like require_once. Check that lines 25 and 26 look like this (taken from the code … | |
Re: [QUOTE=Morty222;523687]Any one know how I can write a php statement to call the last 4 entires from tbl_accounts by userID?[/QUOTE] You need to do two things here. First, order the results in descending order, so that the latest entry is first in the list. For this, you can use "ORDER … | |
Re: [QUOTE=nav33n;523593]umm.. my question is, do you really need this complicated code to generate random password ? The user is going to reset it anyway. Well, for small purposes like this one, I would rather use something like [url=http://www.laughing-buddha.net/jon/php/password/] this. [/url] This will generate random password. Send a link to the … | |
Re: [QUOTE=ShawnCplus;512438]So, after all that, we realize that there is no class [inlinecode]ab[/inlinecode] which is what you were looking for, since it is looking for the b tag inside the a tag.[/QUOTE] And to take this one step further and answer the original question... I'm thinking you need to change [code=css].ivt … | |
Re: [QUOTE=cscgal;466849]I find that Google Analytics data is MORE reliable than server logs because, since it's initiated with JavaScript, it only tracks real users and not any of the bots or spiders.[/QUOTE] I agree. The reason it appears to show lower numbers is because it shows actual, real visitors. Other scripts … | |
Re: [QUOTE=rickarro;517994]I'm not getting it to work. I guess i didn't explain correctly that i'm using a fieldset tag. From what i can find, i can manipulate what goes inside the fieldset, but not the border itself, is this still done with a css? I'm seeing that if the fieldset does … | |
Re: [QUOTE=kudzugazette;519241]I have been using PHP sparsely on my website for some time now, but I would like to become more efficient and therefore have a couple questions. They will stream in slowly, bu for right now... Currently I use the <?php tag many times on a page. Is there a … | |
Re: [QUOTE=naju;517502]can we similarly include the multiple files for a class...??? ( i cant do this. please help) just as ... one member function of a class in a separate file ... [/QUOTE] I'm not sure if it's the best idea to just copy and paste a set of functions into … | |
![]() | Re: [QUOTE=iamthwee;518481]I'm afraid that didn't work, anyone else?[/QUOTE] If you didn't set up the smtp settings in your php.ini file, it won't work. Check the SMTP and smtp_port settings. If you're determined not to use the mail function or need something more advanced, try [url=http://phpmailer.codeworxtech.com/]phpMailer[/url]. Good luck, - Walkere ![]() |
Re: [QUOTE=sanch3za;518961]$query=("SELECT w.name, k.id_teacher, k.class_name FROM walikelas w, kelas k WHERE w.id_teacher = k.id_teacher"); my question is how we get the value from w.name,k.id_teacher,k.class_name and then we can put it in the variabels. Thank you.[/QUOTE] Now you need to execute the query, save the result, and get the values using one … | |
Re: [QUOTE=Persist01;514547]Hi, don't ask me why but my client wants to display certain text as bold and a smiley face within a dropdown option.[/QUOTE] Not sure if there's any way to do this in a real drop-down menu, but you achieve something similar with a little out-of-the-box thinking. Instead of using … | |
Re: [QUOTE=thecraigmcrae;513912]I'd been trying to do date range comparisons all day, and found that using sql was the only way to find out if a date (inside a table) was between a range (assigned by me)[/QUOTE] You should be able to do this with some php. You can use the strotime() … | |
Re: [QUOTE=scottholmes;513757]Although I still don't see the benefit I have found an explanation of public, protected and private visibility properties. [/QUOTE] Properly using private and public properties helps you make better, abstracted OOP code. In simple projects that don't have a heavy dose of OOP, this isn't going to make much … | |
Re: [QUOTE=hooray;513669]sometimes the location:header part has a problem, since it is supposed to be set before any html. the way around this is to put <?php ob_start(); ?> at the very top of the page, before the <html> tag and <?php ob_flush(); ?> after the last line </html>.[/QUOTE] Looks like this … | |
Re: I used to use an old version of Dreamweaver (MX, I think) and do all my testing online. I tried to set up apache, php and mysql on my local windows machine, but I had a bit of trouble and just said the hell with it. However, a month or … ![]() | |
Re: [QUOTE=ShawnCplus;511126]... I'm not entirely sure why'd you write your own function when the built-in addslashes function works perfectly well.[/QUOTE] Aye, I was wondering the same thing. [URL="http://us.php.net/manual/en/function.addslashes.php"]addslashes()[/URL] is slightly different - it escapes a couple of extra characters (including '' and NUL). However, these (especially \) need to be escaped … | |
Re: If I understand correctly... The php script works fine and you received the newsletter. The newsletter is formatted properly with the HTML. The problem is that the pictures aren't appearing when you read the newsletter in your e-mail. If that's the case, then you're problem may be in the way … | |
Re: [QUOTE=manish_gajjar;507088]i want to view image as tooltip of small image on mouseover on that so what is the code for that?using javascript how it can be done?[/QUOTE] This does seem a bit out of place for the php forum... and I'm not sure what the code is to do it … |
The End.