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 Chriss Miller 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: *

  • Users: rninja
  • Order by date
  1. rninja

    Having trouble getting this script to work in IE/Firefox

    This works for the most part in IE. It creates new rows and deletes rows. Here are the problems: 1) the delete function doesn't delete the correct row intended. 2) Firefox does not work at all in terms of adding or deleting rows. Here is the code thusfar: <form name="form1" method="POST"...
  2. rninja

    Javascript not outputting HTML but rather text

    I am having trouble getting my HTML from "inputtext" to create a form element which can be deleted or added via incrementing, from the javascript. Here it is: <script type="text/javascript"> var counter = 0; function insertdiv(){ inputtext="<table width='100%' cellpadding='0'...
  3. rninja

    PHP fwrite not writing on linux box

    This is the identical script, I realized that it had a trailing " and not ;, I changed it in this script and the error is no longer. Problem is, despite the fix, same problem exists. Rninja http://www.Startegy.net
  4. rninja

    PHP fwrite not writing on linux box

    + try adding error_reporting(E_ALL) before the code to make sure you are capturing all warnings. >> I have this enabled and get no errors on most pages and the ones that do are incorrect. For instance here is the code: <? error_reporting(E_ALL); $line="This is a line"; // Open the file and...
  5. rninja

    PHP fwrite not writing on linux box

    + try adding error_reporting(E_ALL) before the code to make sure you are capturing all warnings. >> I have this enabled and get no errors on most pages and the ones that do are incorrect. For instance here is the code: <? error_reporting(E_ALL); $line="This is a line"; // Open the file and...
  6. rninja

    PHP fwrite not writing on linux box

    As I mentioned, I can append ("a") without a hitch, permissions are set properly, I even experimented by leaving the file writable by nobody and set to 777. No go. Any other ideas? Rninja http://www.Startegy.net
  7. rninja

    PHP fwrite not writing on linux box

    I am still having problems getting php to work. I removed all php program files from the linux server, then recompiled and installed php again. I can append to a file using fwrite but cannot use the option "w" to write to a file. I am testing it using a very simple write: <? $line =...
  8. rninja

    Having a problem writing files

    I did that, nothing, a blank page. Rninja http://www.Startegy.net
  9. rninja

    Fopen/Fwrite problem php-5.0.3 and linux

    Upgraded php to 5.0.3 and still not able to use fopen or fwrite. I check the php.ini and it is fine, I have permissions set properly for writes, and It was working before... Can anyone help me ascertain the issue and how to fix it? Thanks! Rninja http://www.Startegy.net
  10. rninja

    Having a problem writing files

    I am using php4.3.1 on a linux box and permissions are set properly for write access. As for return values, what do you mean? I do get the echo back out to the browser, but none of the fopen, or file writing activity occurs. Rninja http://www.Startegy.net
  11. rninja

    Having a problem writing files

    I have a script that simple takes a variable and places it into a file. Problem is lately the scripts don't write to the file and instead clear the file entirely. I try in command line on the linux box and it does write, but when launched on the web does not. Can any one assist? Here is the...
  12. rninja

    PHP, Curl and Paypal

    Can anyone point me to a simple to follow tutorial or working code to process from a simple php to paypal app? Rninja http://www.Startegy.net
  13. rninja

    PHP, Curl and Paypal

    Thank you sleipnir214, That did address the php/curl part, but how do I get paypal to work with that system? I've looked around and so far deduced that they hand off some variables for use on websites other than theirs to be passed into their shopping cart program, but then it still requires a...
  14. rninja

    PHP, Curl and Paypal

    Hello everyone! I wanted to know how to do a very simple form variable pass with PHP and curl to paypal. My purpose is to use the forms on my site and simply use paypal to verify or deny payments for items. Anyone had luck with this? I am not looking for any pre-made package, I want to learn...
  15. rninja

    tieing in a javascript and php function

    How do I make a javascript function speak with a php function so to speak? Here is the idea: 1) I have a link that says "remove" which brings up a simple Javascript function which allows the user to choose yes or no. 2)If yes is clicked it should activate a php function which deletes records...
  16. rninja

    Whats is wrong with the following code

    first of all, you probably meant to change this line around: if($criteria =! 0) to if($criteria !=0) Hope that helps. Rninja http://www.Startegy.net
  17. rninja

    problem with multi-form elements into MySQL DB

    I am trying to create a scalable form in php. I have lets say about 30 items being retrieved from a MySQL database into a php form which can be resubmitted back to make modifications to the database entries. What I am having trouble doing is getting those items (as many as there will be) to go...
  18. rninja

    flash and mysql

    I tried replacing the actual file name as "undefined.jpg" and it showed up, but it doesn't pick up the actual file name "jet.jpg" although it is echoed from the php script properly... Rninja http://www.Startegy.net
  19. rninja

    flash and mysql

    Funny thing is I keep getting undefined, now with your advice, it came out to be undefined.jpg I am wondering what is going on with this issue, it seems a bit odd... Rninja http://www.Startegy.net
  20. rninja

    flash and mysql

    Thanks Bill! You definately deserve a star. Hopefully You can assist me with the other issue... I think it is rather small but i've tried so many things and I am not getting the image to show up truly dynamically from mysql, even though it outputs correctly from php... Thanks again! Rninja...

Part and Inventory Search

Back
Top