Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

terrorsreign

Members
  • Joined

  • Last visited

Everything posted by terrorsreign

  1. Php rocks. For lack of a better enthusiastic reply. So far I've been able to do anything as long as I'm creative with the coding sequence. It's at it's most powerful (in my opinion) with the html forms functions. And with the help of mysql, it's one of the most convenient web languages I have encountered so far.
  2. Ok... bad idea! Well... *retreats silently* Ah well, good luck Paul, seems like you'll have to just keep spending money to make money.
  3. Hey! Just just linked Dreamweaver up to my local server a few days ago, not sure if that's what you want to do? Or if you're running off an external server. If you have a local Apache server (or an alternative) running with a mySQL (or an alternative) database and PHP installed, then to link your php to your server (it is server script so it will only work through a server of some kind) go the files tab on either the left or right side of your Dreamweaver program and first drop down and select "Manage Sites". (If you don't have a local server set up and would like to set up a local server, just google for XAMPP and install that. It'll set up your local server for you.) From there a window pops up where you can create new sites or edit existing sites. I created a new site and added my local sever settings there. Your local server should be "localhost" if you type that in as a url and go to the location it should take you to your local server, the default port is 80, so the exact address is localhost:80. But my port is already in use by windows' IIS, so I set my localhost to a different port number. Anyway step by step: Site name: Any name you choose. HTTP Address: Your local host address, most likely localhost:80. Click next Say yes to serve technology and choose PHP MySQL as your server techonology. Click next. Select "Edit directly on remote testing server using local network" and then click on the folder icon below to browse for your local host files. They should be in your C:/ drive under your server folder and then under the "htdocs" file (if you're using apache). And then I think you click next and select to test your server settings. Hope that helps with the Dreamweaver question? The idea behind all that is that you just tell Dreamweaver where to look for the server that is going to run your PHP script. As for the mailer script... This did the trick for me: http://sourceforge.net/projects/phpmailer/ Unfortunately you need to set up server info again! If you have an email with SMTP and POP3 information then you just change the class.phpmailer.php script so that the SMPT values and POP3 values are correct, and if you have a username and password to access your mail you add those settings as well (there are already variables in the file, you just need to correct their values). And then in your actual script where you call up the mail script you use "include 'class.phpmailer.php'; " and that will call up the class file. But that's how I got my mail script to work. You might find a better way to do it. Google is your friend. With the ghost script... There's perhaps an example in w3schools that does what you want... http://www.w3schools.com/htmldom/dom_examples.asp Hope I haven't thrown too much irrelevent stuff into explaining these suggestions. Keep sane! Cari.
  4. Totally random suggestion. Try running a competition for a beginning web design/developing company. Post on a few forums that you would like to give a new website company the opportunity to build your website and add your website to their professional portfolio to get further clients. Hey and even add an advert on your website for thei company? You can state all the things you want the site to do, and ask them to put a demo site up on a free server like geocities or any other free server space. And then you can have a look at what they've done. This way I'm hoping you'll be able to actually see whether the company does it's job properly. Perhaps also if you happen to pay a new company money to do the website, don't pay them until you're satisfied. If go to enough companies one company is bound to agree to those terms. You sign a contract stating that only on completion will the full amount be paid out. It is a bummer though that you've paid that much. I would personally also rather learn to do it myself! Actually that IS why I do it myself If you really have the patience to master it use this as a refference: http://www.w3schools.com/
  5. Heya, Well I have this theory that if someone else can do it anyone can do it. If it has been done it's possible to do again. I've just just done something similar to what you've described for the first time. My advice would be to come up with a strategy. I've got some training in programming so I know about algorithms and how to draw them up. This was probably one of the first times in my life I actually put in the effort to draw up an algorithm. Basically you can think of it as a mind map of your overall program structure. Draw up a structure that depicts in a visual flow what you want to achieve. Just as an example, when I started with my login idea I knew I wanted to have users log in, once they're logged in they should be able to view and edit their account details, as well as be able to get to the company's blog. But if the user is not logged in then they can't see these or access them. I also know that seeing as I have a CMS structure implemented I want to allow fellow co-workers to edit the content of the website, so they'd have to log in to the admin area. But! They can only see that link once they are logged in. And then also they can only get into the admin area if they have an account there as well. So basically I just sort of wrote out step for step what I want to achieve and then tackled each obstacle one at a time. I've only just finished the login, which has taken me about a week and a half to create a registering page with a few restrictions and data checks, a page that stores the data and sends a confimration email to the user with the right link format to achieve that, then creating the login page and logout page. If I hadn't written out step by step what I wanted to do I'd be totally lost. It would be like the blind following the blind. It's a lot easier to accomplish BIG projects by turning it into lots of little projects. These are some links that helped me a lot in tackling the project: This one helped the most: http://forums.tutorialized.com/php-91/php-...-page-4822.html LOGIN: http://www.hotscripts.com/PHP/Tips_and_Tut...tion/index.html http://www.devshed.com/c/a/PHP/Creating-a-...P-Login-Script/ http://www.php.net/manual/en/function.session-start.php http://www.phptoys.com/e107_plugins/conten....php?content.81 http://www.hotscripts.com/Detailed/75354.html http://www.linuxjournal.com/article/6061 EMAILING THROUGH PHP: http://www.learnphp-tutorial.com/Email.php#menuHeading http://www.askapache.com/php/phpfreaks-eri...r-tutorial.html And if all else fails use google or look through http://www.w3schools.com/ When it comes to web stuff I'm entirely self taught. So this is definitely not outside the realm of possibility. Like anything in life it takes a bit of planning and structuring. People don't open businesses without business plans, or write novels without a general idea of the plot. Any big sites like google, myspace, facebook, neopets, you tube... they were all most likely first drawn up in a theoretically structure and then tackled. Hope this helps! Stay motivated (Overworked) Cari
  6. Well found a solution! I'm just posting the solution up here in case anyone else has the same issue I had: There are several PHP add ons you can download that help with emailing. Particularly with regard to SMTP mailing. The main shortcomings with the plain mail() function is that it doesn't support SMTP authentication, HTML formatted emails or attachments for mails. So to counteract these shortcomings PEAR and PHPMailer have been created. They're both free. Just google for them to download the zip files (for windows). I tried PEAR but it wasn't working for me, so I just opted for PHPMailer. There are a lot of useful tutorials on how to use PHPMailer and it's SMTP friendly, yay! I did a few edits of the PHPMailer class files... just put in the server and port information of the SMTP settings I needed to send through... I also had to put the class.php files in a specific folder, mine happened to be in the PEAR folder (no idea why... but my php settings are probably set that way), but an error message should tell you which directory your files need to be in. C.
  7. Just a random suggestion but if you have a few spare hours... days... weeks... Learn how to implement Joomla! into your websites. It has a poll function. But I have yet to figure out how to use it But I know the functionality exists! I'm just not big into polls and blogs and so on... but I'm sure there are people on this forum that can help out with setting a poll up through Joomla. Else go to any of these websites: http://www.simple-polls.com/ http://www.polldaddy.com/ http://pollcode.com/ http://www.easy-poll.com/ http://www.freepolls.com/ http://nupolls.com/ http://www.99polls.com/ http://freepollkit.com/ http://www.snappoll.com/ http://www.free-website-polls.com/ I havent used any of them myself, but theoretically you should be able to just design a poll in a WYSIWYG environment and they'll output the code for you and you'll just need to copy and paste. You should be able to create a poll without needing to learn how to code it. Just google for free poll creating sites until you find one that works for you. I use Dreamweaver a lot, but I don't see any functionality for creating a poll. I might be wrong though. Hope this helps, Cari
  8. Oh dear... I don't know much about Perl. I've been coding in php... hmm... Do you connect to a database at all, like MySQL? I can do a little research on Perl quick and see if I can help... Just out of curiosity is Perl more secure than php? Shall get back to you asap about the Perl stuff, Cari.
  9. I checked, thanks it helped. But it's still not working. Well... it's working... but not sending... or rather I'm not receiving any emails... I've been googling the issue and it seems the mail() function is not very useful. What alternatives can I use for sending mail? Cari
  10. Hey eightyone, Any chance you can put your code up here? The form code mainly... I'm guessing the issue is with the <form method="post/get" action="link".... part... I've been working on a login for ages now so I might be able to help a bit with looking at what issues I had with my code and how I got around it. Best of luck! (Nice website btw) Cari
  11. I learnt php from W3Schools, so I definitely recommend it as well. I tried learning from books, but I have the attention span of a goldfish, so I like to be told the most in your face version of whatever I learn so I don't have to spend too much time learning the history of the language. So if you're into learning things fast W3Schools is the man... so to speak... I knew C++ though before I started with php... My best tip would be to set your system up for php using xampp. If you google for xampp you should be able to find a download. It'll set your system up for you. Then from there learn php with mysql as they'll both work together pretty well. I barely use any hectic coding for php, though I've mainly been working on a login, but I focus on the if/then loop (W3Schools explains all the php loops) and 'echo' statements. Maybe go through some html forms tutorials. From what I've gathered a good way to use php is with forms and mysql. But if you can achieve something through css and html don't go out of your way to code it in php (learnt from experience! oi ve). Oh you might need to know a little bit about servers and ports... but not much... I just found that having learnt about how TCP/IP works and how different ports are used helped in the long run. But you probably already know all about that stuff... Good luck! Php is quite fun if you get into it. Can be a bee with an itch from time to time, but persevere. Cari
  12. Greetings and salutations, I've got a rather kick grass login going (well for a first try at least) but I've hit a dead end with emailing a Confirmation Email to a potential member. I've only really been learning php through w3schools.com and the odd google search. This is my Register.php page code: <?php include "connect.php"; $registered = "false"; $query = "INSERT INTO registering_table_xtendbi ( username, password, title, name, surname, email, company, telephone, newsletter, registered) VALUES ('".$_SESSION['username']."','". $_SESSION['password']."','". $_SESSION['title']."','". $_SESSION['name']."','". $_SESSION['surname']."','". $_SESSION['email']."','". $_SESSION['company']."','". $_SESSION['telephone']."','". $_SESSION['newsletter']."','". $registered."')"; $run_query = mysql_query($query); // - check if the registration was successful if($run_query){ echo "<p>Your registration has been accepted, you will receive an email with a confirmation link that you need to click in order to activate your registration</p>"; } else{ echo 'There seems to be an error. MySQL says:'.mysql_error(); } /*==============================================*/ //This is the email part where I would like an email to be sent to the user registering: $to = $_SESSION['email']; $subject = 'Confirmation email - xtendBI'; $message = '<p>Hi '.$_SESSION['username'].'!</p> <p>Thanks for registering.</p> <p>Please click this link to finalise your registration: <br /> <a href="#">link</a>'; $from = 'Login'; mail($to,$subject,$message,'From: '.$from); mysql_close($mysql_connect_xtendbi); ?> When I run this code I get the following error: The crazy thing though is I tried to change the php.ini file so that the SMTP settings and so on are through my work email account, which has a totally different setting to my local settings, and my local settings run through localhost:8080 not the normal localhost... O_o So quite confuzzled to say the least... Any tips or links that I can check out about sending emails through a php command would be very much welcomed... Keep sane, Cari
  13. I came across this yesterday: http://forums.tutorialized.com/php-91/php-...-page-4822.html Thought it was quite nifty. I pretty much have my login set up, just a few nitty gritty stuff to sort out and this helped in that regard. C
  14. Thanks, I have come across that, don't know why I hadn't thought of it... Appreciate the help, Cari.
  15. Hey, TGIF! I'm working on a login/membership form. I have most of it done, except when I try fill in values, that the user gives, into the MySQL database it only fills in blanks. I'm assuming it's because I don't quite grasp how to use global variables. Any references or tips on how to use variables between external php files would be greatly appreciated. Some more info on my login files: -I have the form page which uses the method="post" (I assumes post is more secure than get?) -Then on clicking submit a second file checks everything has been filled in, if not is displays a link back to the form page, of everything is filled in it displays two buttons with the values of "correct", "incorrect". If the user clicks incorrect they get taken back to the form page if they select correct they then get taken to the next page which inserts the values to mySQL. -In the final page if the database connection is correct it opens the table in the database and stores the values in the table, and then displays a "Registration was successful!" message. When I display the values in the table in the database it only displays blanks. Hope everyone has a wicked kick grass weekend. Keep rockin' with the code Cari. (Oh, just hit me to mention that I do have my global variables set as on in my php config file and it still doesn't work when I declare global variables.)
  16. Hi, I did try to search through the forums for anything related to this topic but didn't quite find anything. I apologize in advance if there is a topic discussing this already. Internet Explorer *cough*torture*cough* for security reasons blocks script when the page first loads. Where as with FireFox () it works perfectly fine. Does anyone have any advice on how I can get Internet Explorer to automatically load the script without first asking the user for permission? Something like this: http://www.james127trust.org Cari.
  17. Arigato maestros, much appreciated!
  18. Hey, I've been keen to master drop down menus for ages now, but I just can't find the right site to help me with drop down menus specifically. I'd like to avoid using JavaScript and rather use php. Is it possible to create drop down menus using php?I know that with IE CSS drop down menus rarely work. Does anyone know of any sites that have a collection of drop down menu tutorials? Even if it is JavaScript, though preferably php or some server script language. Thanks, Cari.
  19. Cool, shall mess around with the CSS file then. There's probably just a line missing somewhere that I've overlooked. Any clue how to show a flash video in a php file? I've tried using <?php echo'... ...'; ?> but it's not working too great... Thanks for the help, C.
  20. Hi, I'm facing quite a challenge with PHP these days. I've been asked to turn all the websites I've built so far into CMS run sites. And I've chosen Joomla! as my CMS to experiment with. I've dabbled a bit with the PHP and read through as much of the PHP files that come standard with the Joomla! package. So I'm slowly but surely getting the hang of it. But, I've suddenly come to an obstacle with displaying images. How do I display an image in a php through a CSS file? eg. My navigation area at the top has a repeat-x background that gives it a 3d look, and when you hover over the link the background of that link changes. If anyone can help I will be deeply grateful. Keep sane, Cari.
  21. Blonde moment, just realised all I had to do was restart my Apache server Well if anyone needs help, these two sites helped me a lot: http://www.expertsrt.com/tutorials/Matt/install-apache.html http://www.reaper-x.com/2007/09/24/install...p-5-on-windows/
  22. Hey Crazy Bunnies, Haven't been on here in ages, hope everyone is well. Totally confuzzled with PHP. I've been trying to follow instructions for installing Apache and PHP and getting the two to coincide but have had little success so far. The versions I'm using are: Apache 2.2.9 and PHP 6. I was trying to use PHP 5.2.6 but I kept getting errors saying certain dll files couldn't be found. So now when I try run a php file it returns this error message: "403 Forbidden, You don't have permission to access /php/php-cgi.exe/phpinfo.php on this server." If anyone can help me run php script on my system then I will be eternally grateful. Keep sane, Cari.
  23. Lol, indeed indeed, I get where you're coming from. Just in such a rush these days I don't focus too much in misinterpretations. Shall keep it in mind though. I just get excited with when I read interesting articles over developments in software and particularly the internet, and have the desire to share. Hope these articles are at least interesting to some... C.
  24. Hmmm perhaps hey. Maybe there's a bigger picture to the Facebook mentality. Something that could actually benefit the working environment. LMAO!

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.