Jump to content

matte

Members
  • Posts

    14
  • Joined

  • Last visited

    Never

Everything posted by matte

  1. great, I will try these suggestions and try to report back. Sometimes it might go 2 months before it happens again so it might be a while before i report back. Thanks for the suggestions guys!
  2. This happens from time to time and it really drives me crazy. I cannot get the problem to reproduce, although I have plenty of evidence that it is happening. I have a php page that pulls in some database from mssql formats it in a nice table then send via email to a 3rd party. All of that works great. What happens is in some of the emails the first column will show the table cell information for the next column. See example: Mascaw Mar. 8, 2012 - 6:15 pm Ronnie Johnson Newtown Pike<td width="150"> Mar. 8, 2012 - 6:15 pm Todd Doe Hall of Justice Mar. 8, 2012 - 6:15 pm Carol French I had this problem before with another emailing system and found that wrapping the email to 900 before sending it out fixed it. I wrapped this with $message = wordwrap($message, 900, "\n", true); but it doesn't seem to make a difference. Anyone ran into this before? Any help would be greatly appreciated! Thanks
  3. i was thinking that when they hit submit on the form to send the newsletter it would fire up ajax in the background and disable the page from being used and put a progress indicator up just showing the progress of sending out the emails i suppose as you are saying during the wait state. How long does ajax wait in the wait state before it times out? That is what i am afraid of...don't really want to do all the work to find out javascript has the same problem as php in this case.
  4. hey, I am working on a newsletter management script in php. The problem i am having is the browser times out after 30 seconds and there are 5000 + users in the newsletter. I thought about using ini_set to change the timeout time, but then users will think the page has hung up and leave the page...inturn stopping the newsletter from sending all the emails. My question is will ajax timeout after a set amount of time or could i use ajax to send the newsletters and create some sort of progress indicator? Thanks in advance.
  5. matte

    image over movie

    yes... "any type of movie" flv, swf, mpg, mpeg, wmv, etc... i have the page written to determine the appropriate player and go with it. The problem is it is covering the watermark.
  6. matte

    image over movie

    any type of movie... like on a tv screen you have the watermark in the lower left or right corner. I am basically wanting to do the same thing, but it won't show over any movies.
  7. hello, i am creating a page that displays a movie and what i need to do is put a watermark image over the movie. I have tried using css to set the z-index but it will not put it in front of the movie. You can see the image till the movie starts playing then the watermark goes away. Does anyone know another way of doing this or something else i could try? Thanks
  8. i am using window 2000 server with php 5.0.3 with iis6 and can not get php to include an extension.  I have tried various different extensions and it gives error with everyone.  This is the error givin in Event Viwer: Application popup: Warning : PHP Startup: Unable to load dynamic library 'c:\php\libpdf_php.dll' - The specified procedure could not be found. i have verified that the file is there!  I have set IUSER_machinename permission to read and execute the php directory.  Tried using the dl() function and it also gives can't find dll error with any dll i try.  Also, copied the dll files to the system32 folder on server and added c:\php to system path!!!!  Also read somwhere to put the msvcr71.dll C Runtime Library into the php folder... that didn't work either! Please help, i can't think of anything else to try!
  9. hello everyone, i am creating a search function that searches the table for records greater than today.  However in the database the dates are stored as varchar(10) as 10/17/2006 in column DATECOLUMN.  I am trying to use the convert function to convert the date into datetime so i can compare to current date time.  WHERE CONVERT(datetime, DATECOLUMN) > GETDATE() i think the problem is the date isn't in the correct format for the datetime... as it should be 20061017.  Does anyone know how i could format the DATECOLUMN to use the convert function or another way of doing so? Thanks VERY much!!!!
  10. what is the syntax error you get?
  11. if you are wanting the program to run every 30 minutes i would use crontab on linux machine or task scheduler on windows machine
  12. hey, i am creating my own cms to use on some websites.  I need it to be able to work on both iis and apache.  Everything works great on apache and linux and mysql but when i move it over to iis and windows 2000 and MSsql it is way slower.  On apache and linux the page will load in less than a sec.  On iis it will either timeout or take 20 - 30 seconds to load the page.  i have been beating my head on the wall trying to figure out what could cause this!! Does anyone have any idea?  To connect to the MsSQL database i am using odbc.  I have tried mssql_connect() but it isn't any faster.  Please any ideas are appreciated!
  13. try something like this $db_host = 'localhost'; $db_name= 'dbname'; $db_password = 'dbpass'; $db_username = 'dbuname'; $connection_string = 'DRIVER={SQL Server};SERVER=' . $db_host . ';DATABASE=' . $db_name; $db_connect = odbc_connect( $connection_string, $db_username, $db_password ); $r1 = odbc_exec($db_connect, "SELECT COL FROM TABLE"); while($q1 = odbc_fetch_array($r1)) {     echo $q1[COL]; } odbc_close_all();
  14. not sure if this is the correct place to ask this  but here goes... i have been developing a content mangament system that will run with both mysql and ms sql.  I developed the site on apache w/ mysql server and it runs fine.  Now i moved to over to IIS 6 with MS SQL and it runs terribly slow.  Most of the time i get timeout error loading a page.  I have went back through the code and checked for anything that could cause it and haven't found anything.  I have tried it on 3 different IIS 6 servers with the same MS SQL database and they are all just as slow.  I guess my question is would it seems resonable to assume that MS SQL is a considerable amount slower than mySQL?  Does anyone know anything else i could try?
×
×
  • 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.