Jump to content

sdaniels

Members
  • Posts

    46
  • Joined

  • Last visited

    Never

Everything posted by sdaniels

  1. Can someone point me to a doc that explains how to make my login page HTTPS? I want to use SSL so that the passwords do not go plain text over the web. I am running Apache on a windows machine. Thanks.
  2. I figured it out for anyone else that might have this issue. If your running windows you need to set the sceduled task like this: C:\PHP\php.exe c:\windows\here.php
  3. I have PHP running on a winXP box. Does anyone know how to run a script from the command line? I need to query the MySql database and generate an email daily from task scheduler.
  4. Perfect, thats what I was lookin for. Thanks for the help on this one!
  5. Will that work for pages that are not encoded with PHP as well?
  6. thats exactly what im looking for. an example of what I need would be something like a link on my site that says yahoo, and when clicked it openes yahoo.com and then submits a post in the search field. Im tryiing to make a page that will store all my usernames and passwords in a table, when i click the link to the site I want it to launch the page and fill out my info automaticly. and for those of you that are going to tell me: yes i am aware that most browsers have a feature that allready does this. but it only works from that pc under my profile, i want to be able to access it from anywhere.
  7. Is it possible to send data to an external website? for instance: if i have a link on a site that I maintain. I wnat to click the link and have it open a different website that I do not maintain and fill out some form info on that site automaticly... can this be done?
  8. ok i lied that did work... I think i got my mind around it now. Thanks for your help. sorry for getting snappy.. I have another question for you if your up for it. $query = "SELECT username FROM useronline"; $result = mysql_query($query); while ($here = mysql_fetch_array($result)) { $name = $here['username']; echo $name . ' '; the username column is going to have a ton of dupliacte entrys... I want the query to just echo the ones that are uneiqe... should i do something like $querey = "SELECT username FROM useronline GROUP BY useronline" or will that not work?
  9. ok iv tried this: $query = "SELECT username FROM useronline"; $result = mysql_query($query); while ($here = mysql_fetch_array($result)) { $name = $here['username']; echo $name . ' '; but that doesnt work either....
  10. Ok, sorry my wife is drving me nuts and making me frusterated... anyhow so your saying that I have to something like this:? $query = "SELECT username FROM useronline"; $result = mysql_query($query); while ($here = mysql_fetch_array($result['username'])) { echo $here . ' ';
  11. are you trying to be a smart ass or help me out? ill ask someone else, i can do without the condesending attitude. thanks
  12. do i need to do a for each on the $here variable?
  13. Right thats what im trying to do.. iv changed the code to: $query = "SELECT username FROM useronline"; $result = mysql_query($query); while ($here = mysql_fetch_array($result)) { echo $here . ' '; but it sill echos 'array' for every value in the useronline field. I need it to echo the value in the table...
  14. I have the following code: $result = mysql_db_query($database, "SELECT username FROM useronline") or die("Failed!"); while ($here = mysql_fetch_array($result, )) { echo $here . ' '; when i echo $here, it simply shows 'array'  instead of each username what am i doing wrong?
  15. nevermind the conf question, im just validating session variables now. The webcam.php issue is fixed.
  16. if i have a website http://www.whatever.com and i have several pages in my htdocs folder example:  index.php, hello.php, test,php how can i stop someone from directly accessing http://www.whatever.com/hello.php through the conf file? i have set it up to disallow going to a folder in the htdocs, but how can i stop from all pages execpt index.php? or can this be done?  (im trying to get around having to validate session variables on every page)
  17. do you know if you can set the conf file in appache to only allow access to index.php in the htdocs folder? or am i going to have to validate session variables on each page?
  18. good call on the text box. my resolution in 1280 x 1024 and I always forget to check for differences. good call on the webcam page too, Ill have to look at my conf file. if I cant find anything there then ill add some session validation to my pages. These are the responces i was looking for. Thanks. logo is a placeholder for now... content is sparce on main page for now, im working on functionality first. colors stay, Its easy on my eyes. If i buid pages for others then I will keep the color issue in mind. what is this IMO I keep hearing about? thanks for the review.
  19. Im a novice with php/mysql. I have built myself a site for testing/practice purposes. Id just like general comments on the look/feel of the site before I try to build sites for other people. Thanks. http://www.shaundaniels.com
  20. Thank you that worked perfectly! this is the code I was using that jacked it all up. parent.window.location.reload( false );
  21. Im a novice, Could you give me an example? my page is set up as a large table with an iframe in the center, the iframe has the login form. you can see what i mean at http://www.shaundaniels.com i need it to refresh the main page because it contains dynamic links based on the users login. the probelm i have now is that when i log in it will not show the new links untill the page is refreshed.
  22. I have an Iframe in a table, within the iframe is a form for user name and password, I want it so that when they hit submit it will refreash the enire page and not just the iframe. any suggestions? I had a snippet of javascript code, but in firefox it would kick an error about postdata being resubmitted, Id like to find a way with no errors if possible.. thanks,
  23. [!--quoteo(post=369422:date=Apr 27 2006, 08:10 PM:name=businessman332211)--][div class=\'quotetop\']QUOTE(businessman332211 @ Apr 27 2006, 08:10 PM) [snapback]369422[/snapback][/div][div class=\'quotemain\'][!--quotec--] I am I already know Xhtml, css, and "VERY LITTLE" javascript. Now a bit of php. I am wanting to build my site in xhtml, style it in css, put in some javascript, for basic validation, and preload images. Then I am wanting, just for knowledge, to have a form, that sends information to a database, to make sure I Have the basics of databasing, before I start to take on projects. [/quote] Dude you need to get yourself a book man. go spend a few bucks and youll learn fast. Iv recomended this book to you previously 'PHP and MySQL for dynamic web sites' By larry ullman
  24. Well the site is going to be strictly for family and friends, i have a picture gallery, web cam, ftp, mail, etc.. so I really dont want people to be able to access everything unless they login. but i have activated the test account. user: test pass: test this account will have access to the picture gallery all registering does is allow me to control who can see what, It doesnt require a valid email address, just the valid format. Also I agree about the query buttons, again this is a work in progress and Im just trying to get the functional parts to work first, ill go back and clean up the pages. The 3 things below my name are just filler, there was alot of white space.. I have to redo that entire image, as you said its blurry, I think that I didnt expart the image at 100% in fireworks.. that being said, do you think I should leave off the 3 'things'? Im not sure what should go in place of that thoug.. its alot of white space. any ideas?
  25. [a href=\"http://www.shaundaniels.com\" target=\"_blank\"]http://www.shaundaniels.com[/a] login with user: test pass: test ftp link only works with IE, test account does not have access to FTP
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.