Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. gizmicek

    How to distribute compiled PHP scripts?

    thanks sleipnir214, I will look at this. But it's quite lot of money for me to get this software :-/
  2. gizmicek

    How to distribute compiled PHP scripts?

    Hi all, I have some scripts which I want to kick off so other programmers can use them but I don't want to put out the source codes. I know that there was some thread about it some time ago but I can't find it now. Could anybody gimme some link where I can find more information about the...
  3. gizmicek

    Include file

    be sure, that the file is really named "Common/MySQL.php" and not e.g. "common/mysql.php" - i.e. check the letter case ;-)
  4. gizmicek

    session_start() problem

    I faced the same problem some time ago. Even on the computers with cookies turned on I wasn't able to use them. Fortunately, php can pass the session ID also through the URL and it will do it for you automatically in case it can't use cookies ;-). Go to php.ini if you would like to change the...
  5. gizmicek

    Open popup window using Javascript

    Great thanks
  6. gizmicek

    passing a variable to a drop down list

    hos2 is right, but try rather this query: $query = "select from tablename where categorie like '%$cat%'"; The % (percentage) character represents any count of any characters so it will return a possitive search result even if you have e.g. "dkjfasldmathematicsddfkjasdl" in...
  7. gizmicek

    passing variables to a new page?

    oh, just one suggestion: if the link you wrote above is also located in the index.php page, you should have the code snippet (I wrote in the previous reply) enclosed in the if statement like this: if(isset($_GET['dvdId'])) { $id=$_GET['dvdId']; $result=mysql_query("SELECT * FROM `dvdtable`...
  8. gizmicek

    passing variables to a new page?

    Hi xWasteMindx, Now, after clicking the link, you will have the following variables available in index.php page: $_GET['dvdId'] $_GET['dvdName'] So at the top of the page, you should have some database query like this: $id=$_GET['dvdId']; $result=mysql_query("SELECT * FROM `dvdtable`...
  9. gizmicek

    Open popup window using Javascript

    Hi guys, this is probably very simple question for Javascript gurus like you but I don't use JS very often and don't know this. I need to open new window after clicking on a link and I'd like the window to have specified dimensions in pixels. E.g. I have link on my pages and after clicking it...
  10. gizmicek

    Cookie Counter Problem

    Check this out: if(!isset($_COOKIE['cookietest'])) { //set cookie setcookie("cookietest", $_SERVER['REMOTE_ADDR'], time()+360); //increase the counter value print "Hello World"; } I have some experience with using cookies and I suggest you not to use them. They aren't...
  11. gizmicek

    Order by 2 columns?

    Records in database are added in order you add them in. If you delete one record, you have to optimize the table so the records after the deleted one are moved one record ahead. If you only update some record, it remains on it's same place. Therefore you can't rely on the order in which the...
  12. gizmicek

    Order by 2 columns?

    SELECT * FROM $table ORDER BY `which` ASC, `when` This will do the job ;-)
  13. gizmicek

    PHP Error

    If you want to force some function not to display error, just put @ before the function. In your case, it will be something like this: $var=@date(); But this is not a real solution. You should eliminate the errors correcting your code instead of hiding the errors ;-)
  14. gizmicek

    Submitting a form by pushing <enter>

    As Skute said, remove the </INPUT> tags. They shouldn't be there since <INPUT> is not pair tag. After removing the tags, your form should be submited using <ENTER> key.
  15. gizmicek

    Passing session variable to new _blank window

    Hi danielhozac & skiflyer, I have main webpage where I have stored the user name in session variable $_SESSION['auth_user']. When I create a link on that page like this: <A href=&quot;aa.php&quot; target=&quot;_blank&quot;>aaa</A> and have aa.php like this: <?php echo $_SESSION['auth_user']...
  16. gizmicek

    Uploading images and editing stored images

    Hi spurs100, I personally prefer storing images on the FTP and having only the file location string in the database. If you choose this option, you won't have to worry about the best format to store the image into the DB to and you will also be able to watch all the files located on the FTP and...
  17. gizmicek

    Passing session variable to new _blank window

    Hi guys, I'm facing a little problem now because I need to pass a session to the new _blank window opened using <A href=&quot;something&quot; target=&quot;_blank&quot;> I'm making chat window which should be opened in new window and still should have the session variable containing username...
  18. gizmicek

    website is done in php and I don't know php

    well, if you see anything after the question mark in the URL that means ?variable=value&variable=value etc. This is very useful and clear when you think little about it - it allows you to pass some variable to various pages and adjust the page content according to some needs. if you have this...
  19. gizmicek

    Newbie: PHP/Tell-A-Friend HELP

    There are several free webhosting providers in Czech Republic who supports PHP and MySQL (50 MB web space+2 MB MySQL database) but I noticed that these web pages cannot be accessed from US. I also don't expect that you can speak czech so this will be useless for you. Here is the link though...
  20. gizmicek

    MySQL query question

    My example mentioned above works fine, sorry for bothering

Part and Inventory Search

Back
Top