chrishea 182 Nearly a Posting Virtuoso
chrishea 182 Nearly a Posting Virtuoso

You'll need to post some code.

chrishea 182 Nearly a Posting Virtuoso

There is support built into PHP to create PDF files, but I found it easier to display the report and then create a PDF file from that using HTML2PDF. For more info see:
HTML2PDF

chrishea 182 Nearly a Posting Virtuoso

Search engines such a Google can search your site (http://www.google.com/sitesearch/) for what is defined on your pages but searching dynamic data from your DB is a whole different thing. That will need some customization.

This provides an example of a script to do a DB search based on up to 3 keywords (with a form and comments):
http://www.imagefair.co.uk/miscellaneous.html

chrishea 182 Nearly a Posting Virtuoso

I think it is your html that is the problem. The 'checked' parameter can take 'yes' or 'no' as parameters. Normally, I would just use the word 'checked' on the one to be turned on as it defaults to 'yes'.

chrishea 182 Nearly a Posting Virtuoso

Not clear on your problem. Is this an update process where you want to display the data, allow changes and then create a new PDF? If that is the case why get complicated and try to change the existing PDF? Just create a new one and overwrite the old one (or create it under whatever name the user chooses)? If I am misunderstanding the situation then you need to explain it better.

chrishea 182 Nearly a Posting Virtuoso

If you install the program (the basic one is free) it prompts you for the tutorials on the first use. The link to the tutorials is below:

http://community.screen-scraper.com/Tutorials_Menu

chrishea 182 Nearly a Posting Virtuoso

When you import to mysql you don't want the first row with column headings in the file. It strictly depends on the order of the columns. The easiest way would be to have the users convert to a standard format that is consistent with what you need for the DB. If that isn't possible, then it depends how often you plan to do this. If it is a one-time deal, (and there aren't many spreadsheets) then it might be quicker to cut and paste from the current spreadsheets into the format you need. If you have many spreadsheets or you need to do this regularly, then you could certainly upload the spreadsheets, read the temp file that is created, convert to the appropriate format (new temp files) and then import into the database.

chrishea 182 Nearly a Posting Virtuoso

I recently bought a new laptop after having an HP laptop with Vista for the last 3 years. Both were disappointing.

I did quite a bit of research on the different brands, prices, customer reviews, ratings of their service and reliability and so forth. You can pick almost any brand and model and find people who are very happy and some who aren't. Based on the info that I was able to find it came down to three brands, Toshiba, Asus and MSI. The last two do their own manufacturing where most of the others outsource the building of the machines (many to the same company in Taiwan). From what I could find on Toshiba, the quality of the machines is good but their customer service isn't very good. There are quite a few cases of failure of the LCD panels where Toshiba refused to fix them during the warranty period. There are probably many happy Toshiba customers who never had a problem so they never had to test the service.

I found good deals on MSI and ASUS machines. The MSI had slightly better specs but it was out of stock so I went with ASUS. Both companies are sort of on the fringe in the laptop business. They don't do the kind of volume that HP or Toshiba do. They have a good reputation for quality and ASUS has a pretty good reputation for Customer Service from what I could gather from Internet-based feedback.

My …

chrishea 182 Nearly a Posting Virtuoso

You might be able to incorporate Dapper
http://www.dapper.net/open/

Another approach is to do it yourself using a PHP-based tool. I have successfully used class.http to do this:
http://www.troywolf.com/articles/php/class_http/

chrishea 182 Nearly a Posting Virtuoso

If you are using PayPal or something like that, part of the security is that the transaction happens on their site and out of your control. You don't say why you want to do it this way but it seems that it is probably not an appropriate thing to do.

chrishea 182 Nearly a Posting Virtuoso

This is an interesting dilemma. If the network isn't reliable, it seems that it would make sense to have a local server or programs running from the PC's that would talk to the remote server and keep a local log / copy of all the data. Running a "cloud" service presupposes a reliable network.

Getting a reliable network would seem to be the right answer but if that isn't possible, then you will have to live with some limitations and potential issues. It seems that maybe you need a dedicated PC that would initiate a connection to the server every 30 minutes or so and extract all of the updates since the last extract. It would need some sort of local program (always running!) that would be able to take some queries and display the data. That might be XAMPP with some local PHP and MYSQL but it could be some Basic or C or something else. Depending on the volume of transactions, you might not even need a sophisticated database in a backup scenario. You can probably deal with the security aspect but if someone steals the backup PC or turns it off or if the program crashes or there are any other problem with it then backup is out the window. You can use one of the remote control programs to manage it if you aren't nearby but once the network goes down, you're out of luck. In that case maybe it also needs a dial-up modem …

chrishea 182 Nearly a Posting Virtuoso

Is the machine shutting itself off and on or is it truly staying on with the "pulsing" power light.

chrishea 182 Nearly a Posting Virtuoso

You've done most of the normal steps. Clean out dust from the fan and ensure that the fan is working. If you have an external monitor, you should try connecting it just to be sure that it isn't your LCD panel. Dust in general can cause problems. If you can get at your motherboard with some compressed air, that wouldn't hurt either.

chrishea 182 Nearly a Posting Virtuoso

If you are using a Web Hosting service you should contact them and see if they can help.

chrishea 182 Nearly a Posting Virtuoso

It isn't through PHP but if you don't mind doing it manually, use PHPMyAdmin to do it (Most web hosts provide it as the tool to manage your MySQL database).

chrishea 182 Nearly a Posting Virtuoso

Reading the documentation works for me! From the PHP manual:

path
The path on the server in which the cookie will be available on. If set to '/', the cookie will be available within the entire domain . If set to '/foo/', the cookie will only be available within the /foo/ directory and all sub-directories such as /foo/bar/ of domain . The default value is the current directory that the cookie is being set in.

chrishea 182 Nearly a Posting Virtuoso

Try running in safe mode to see if it makes an difference.

chrishea 182 Nearly a Posting Virtuoso
chrishea 182 Nearly a Posting Virtuoso
chrishea 182 Nearly a Posting Virtuoso

I don't think that's enough. The array isn't being loaded correctly either!

But seriously though. You may have better luck using the authorize.net forum to see if anyone else has encountered similar problems and what the cause was.
http://community.developer.authorize.net/

chrishea 182 Nearly a Posting Virtuoso

Once it comes on, does it just stay in that frozen state or does it switch off after a while and try to start again (the most common scenario).

chrishea 182 Nearly a Posting Virtuoso

If it doesn't come on at all, it could be a power supply problem. On a laptop, this can be the actual connection where the power supply plugs into the machine. The jack in the machine or the plug that plugs into it could be worn out. Could also be a broken wire within the power cord (but less likely). If your battery is charged and it won't come on, then this isn't the problem.

You could also have a hardware problem that won't allow it to Post. Usually in this case, it will keep trying to restart but it won't get anywhere (the power light and other lights will go on and off repeatedly but you won't see anything on the screen). If that is the case, you can search and find many posts on this forum about what to try (search "laptop no post" for starters).

It could be something else entirely but these are pretty common problems so you might as well eliminate them first.

chrishea 182 Nearly a Posting Virtuoso

Possible that a virus could have done some damage. Just to be sure you could do a scan (MalwareBytes). If you have the original Windows install disk, you could also try doing a repair and see if that corrects it. If you have recovery disks you could also try that. If all else fails, you could clean your disk and re-install but it may be a lot of work to put it back together again.

Hard Disks are cheap enough these days that it maybe easier to get a new disk and do a fresh install on that. You'll still have to re-install programs but at least you have all your data and you still have the old disk for reference to remember what was installed. If you go down this path, then you will have to be careful to get a disk that is compatible with your with your (older) hardware.

Salem commented: Nice idea +19
chrishea 182 Nearly a Posting Virtuoso

A couple of thoughts from a previous post. Could be driver-related.
http://www.daniweb.com/forums/thread129656.html

chrishea 182 Nearly a Posting Virtuoso

The Search box is there for a reason. Most common problems have been solved before. If you do a search on volume control, you'll find quite a few previous posts. Here's a link to one of them:
http://www.daniweb.com/forums/thread73442.html

chrishea 182 Nearly a Posting Virtuoso

I am using PHP 5.2.10 for my local testing. I have had situations where commented lines of code cause PHP to lose its marbles and it just outputs the uninterpreted code from that point on. I never saw this on earlier versions of PHP and it has only happened a few times. The same code is fine when I run it on the server. My simple solution was to remove the offending comment and move on in the hope that it goes away in future PHP versions. I have many commented-out sections of code that cause no problems but I wasn't able to identify any pattern to it. It only seemed to affect specific lines that started with //. If I enclosed the line in /* ... */ it didn't seem to cause a problem.

chrishea 182 Nearly a Posting Virtuoso

If the objective is to display the Word file online, then the best way is to convert the Word file to an html file first and then display that. I found a class that can convert between formats and it seems to work well.
http://www.phpclasses.org/browse/file/1256.html

I also tried the routine that I referenced in the previous note and it works ok (with a few limitations) to produce plain text.

chrishea 182 Nearly a Posting Virtuoso

Have a look at the article that I linked. Haven't tried it but it seems pretty easy if it works (not Word 2007 compatible).

http://stackoverflow.com/questions/188452/reading-writing-a-ms-word-file-in-php

chrishea 182 Nearly a Posting Virtuoso

I did a search and found an article that explains it (see link below).
<?= is a shortcut for echo. It only works if PHP's short open tags is turned on. This isn't much of a shortcut (especially since you also need the closing tag for a total of 5 characters to replace 5 if you count the closing semi-colon for the echo). It might be better termed as an alternative.

The ?> is the standard PHP closing tag. Normally, your code will be something like:

<?PHP
... a bunch of PHP code ...
?>

If you use the short open tags (not recommended) then this would be:
<?
... a bunch of PHP code ...
?>

You can also break in and out of PHP (by enclosing the PHP in open and closing tags wherever it appears) and include HTML / Javascript code in the same module.

http://perishablepress.com/press/2009/01/12/php-short-open-tag/

chrishea 182 Nearly a Posting Virtuoso

if you include what you did to try to get it back to what it was, that may allow someone to give you some other suggestions.

chrishea 182 Nearly a Posting Virtuoso

I use an older (free) version of Knowledge Base Publisher and I like it. The newer versions are no longer free but they presumably have more bells and whistles.

http://www.kbpublisher.com/

chrishea 182 Nearly a Posting Virtuoso

I'd start by double-checking that the screen resolution is set to the proper "native" value for your screen.

chrishea 182 Nearly a Posting Virtuoso

There are lots of posts on this topic. The response by Trionztek summarizes the key problem with these machines. If you have eliminated other possible hardware problems (e.g. by re-seating the memory boards and trying one at a time) then the video board solder is the likely problem. I have the same problem on a DV9000 but I have been able to get around it. Don't know if this will work for you or anyone else but it's worth a try.

Boot the machine while holding down the Del key. If you don't get the initial HP screen, then shut the machine down by holding down the power button until it turns off. Push the power button again while holding down the Del key. Keep forcing it to power down and then boot it again for 5 or 6 tries. It usually takes me that many tries before it works. If you get to 10 or 12 tries and it still won't start, then you have a more serious problem that is preventing it from booting. I had that situation a couple of times and I found that my hard disk needed to be re-seated and then it would work. If it can't see your hard disk, it isn't going anywhere. I found in my case that I could boot from my Windows install disk (after a few tries using the procedure above) and I could then get into the bios and I saw that there was no hard …

chrishea 182 Nearly a Posting Virtuoso

The first question to answer is if there is an "official" way to get data into the second application (an API of some kind). If the answer is no, then you will need to automate the filling of the form for the second application. One way to possibly do this is the Snoopy class. I did some searching and found it. The link is below. I haven't used it myself but I'm going to do a bit of experimenting. You can also do it yourself using the PHP HTTP functions.

http://sourceforge.net/projects/snoopy/

chrishea 182 Nearly a Posting Virtuoso

You don't say if it was able to do full-screen running under Vista or something else. It may depend on the resolution of your screen. On my old laptop, the screen was closer to square (I think it was 1440x1280) and I had no problem getting stuff to go full screen. My new laptop has a screen that is more rectangular (1330x768) and some things can't adjust that much. If some of the games have forums, you might be able to get some additional info there.

chrishea 182 Nearly a Posting Virtuoso

You can find info if you do a search. Here is one example:
http://www.nocrash.com/ncbbs/msgs/3247.shtml

chrishea 182 Nearly a Posting Virtuoso

This seems like a pretty simple and solid utility. You can set primary partitions with it. You may need to contact their support people about changing the Boot partition.

http://www.partitionwizard.com/index.html

chrishea 182 Nearly a Posting Virtuoso

The answer to your first question:
https://www.paypal.com/us/cgi-bin/?cmd=p/xcl/rec/subscr-intro-outside

If you want to restrict what countries you will deal with, PayPal already deals with that to some degree. It depends if you want to go further. In that case, you probably need your own control when they register with you.
https://www.paypal.com/us/cgi-bin/?cmd=p/xcl/rec/subscr-intro-outside

chrishea 182 Nearly a Posting Virtuoso

Presuming that you have already sorted out the login system itself, then it should be simple to add a check for the trial period. Each user record could have a trial period flag with a second field for the date that the trial period ends. You could go with just the date if you interpret no end date as being registered. On every login, this field is checked and if it is a past date, then the login fails.

chrishea 182 Nearly a Posting Virtuoso

You can't get an answer or any help if you don't describe the problem with some details. Many of these laptops have problems in the initial POST processing that causes them to try to start, power off and start again. Is this your problem or is it something else?

chrishea 182 Nearly a Posting Virtuoso

Check the fan. If it's not working you'll need to fix or replace it and hope that everything else still works.

chrishea 182 Nearly a Posting Virtuoso

This is a handy class that takes care of the details:
http://www.micahcarrick.com/04-19-2005/php-paypal-ipn-integration-class.html

chrishea 182 Nearly a Posting Virtuoso

As per the permanent post at the beginning of this section, if you get this far, it probably isn't hardware but given that it started happening after you loaded the Asus drivers, it still could be. You'll want to go through the hardware checks for memory, fans etc just to be sure. The link below provides some additional info that might be useful. I'd also do a search on your motherboard to check for any known problems and ensure that the drivers you are loading are the latest.

http://www.tech-archive.net/Archive/WinXP/microsoft.public.windowsxp.help_and_support/2008-07/msg00997.html

chrishea 182 Nearly a Posting Virtuoso

After using Vista for three years, Win 7 speed is amazing. Compared to Vista, XP was pretty quick but Win 7 is just as good or better. Obviously getting a newer quicker machine with Win 7 on it is a factor as well so in a head-to-head comparison, XP would look that much better (than on an older machine).

We take it for granted, but Win 7 is also very compatible. On the 64-bit version, I haven't run into problems with 32-bit apps. There are 64-bit device drivers out there that work so they seem to have it covered well going both ways. Especially for former Vista users, it's easy to think dark thoughts about Microsoft. This time, they seem to have it right. I just realized that I haven't seen any of those Apple vs Mac commercials for a while. Harder to be credible making a case against Win 7.

chrishea 182 Nearly a Posting Virtuoso

I used XP with WindowBlinds for a while and I was happy with it. None-the-less, I'm very happy with Win7 and have no desire to use anything else. Windows 7 "Starter" is the cheapest, most basic version of Win 7 and doesn't include the Aero theme or the ability to change wallpaper. If you made a bad deal and didn't get at least the Home Premium version of Win 7 then you can't blame anyone else but yourself. You can
still upgrade to Home Premium and that makes more sense than going back to XP (unless you are belatedly looking for the cheapest solution).

I recently got a new (Asus) laptop that included Win 7 Home Premium 64-bit, a reasonable processor, 4 gigs of memory, a 500 gig drive and a 15.6" screen for $600. That's $400 less than I paid for an HP three years ago with Vista, an 80 gig drive and 1 gig of memory. It's a great machine for the money and Win7 is great as well. You could probably make a case that selling a low-end version of Win 7 undermines the product and the brand but obviously, some manufacturers are prepared to use it to be able to offer a lower price / make more profit.

chrishea 182 Nearly a Posting Virtuoso
chrishea 182 Nearly a Posting Virtuoso

If you have modules that can do the validations, then you can probably "include" them in your main program. You will need some understanding of the way in which the validation modules are structured (and how they are intended to be used). They might (for example) contain Functions that you can call from the main program or they could be in-line code that you can just include wherever you want to perform the validation.

chrishea 182 Nearly a Posting Virtuoso

I think that it's reasonable that you would define your needs more completely and that you would do some of the research instead of posting a totally open-ended question on a forum such as this.

You should provide more detail on what you want this "community portal" to be able to do. You also need to define your objective. Is this a PHP learning exercise or do you want to install a package and get it running as quickly as possible. The more detail you can provide (within reason), the more likely that someone will be able to provide some useful suggestions.

chrishea 182 Nearly a Posting Virtuoso

This has been covered before (probably many times). I have provided a link to one thread below. If you do a search of this forum you will probably find more.

http://www.daniweb.com/forums/showthread.php?t=209973&highlight=php+vs+asp