I know this can be done with regular expressions, but my knowledge of regular expressions stinks. I need to say
if (request.form("claim_num") is of the format: "2 numbers – 4 numbers – 3 numbers"
then go here
else go there.
Can some please help me out with how to do that?
Jewels...
Also
allow_url_fopen On
IUSR_[MACHINE NAME] has full contorl
http://www.scriptchick.com/
When faced with a decision, always ask, 'Which would be the most fun?'
Everytime I try to use fopen I get the following error:failed to open stream: Permission denied
I've given the Internet Guest Account read, write, and edit permissions. I got frustrated and tried it with full control. I have a coworker that gave the Everyone account full control. We are at a...
I've never had video on my websites before. My customer wants to have a space on his home page that will play various videos that he supplies to me in a continuous loop. Does anyone know a good website I can visit to learn to do this?
http://www.scriptchick.com/
When faced with a decision...
Turns out this is actually a Flash issue not a javascript issue. To fix the problem I just added this line in my flash
<param name="wmode" value="opaque">
And yes I did inherit all of this code, and just want to get it working for them. I don't have the time to totally rebuild a site this...
I volunteered to help our local Goodwill make some changes to their site. One of the requested items was a pop-up menu when you mouse over the top menu.
https://www.goodwillworks.org/newSite/ourmission.asp
They have an existing flash that they want to keep. For some reason the menu pops up...
We do not have roaming profiles and it's not in my power to set that up. Military powers that be decision.
That is exactly what I need. When a user quits, I need to search the entire domain and remove their profile from every machine here.
http://www.scriptchick.com/
When faced with a...
the system would see the user profile as still on the system even though the profile folder was deleted on c:\documents and settings\%username%
The profile will still show up in the profile manager and with the folder being gone you won't be able to remove the profile from the profile manager...
That is the tool that I mentioned in my first post, from my understanding from this site http://support.microsoft.com/default.aspx?scid=kb;en-us;315411
I can't give it a username to search the network for, which is what I need. For instance John Doe is a user on our network, his username is...
Correct, need to remove them to save space, some of our PCs only have 20 gig hard drives and it isn't in the budget to upgrade them. We do not have roaming profiles and it's not in my power to set that up. Military powers that be decision.
http://www.scriptchick.com/
When faced with a...
I have a problem that I'm sure other people have come across. I work in a hospital. We have numerous PCs here. The nurses rotate around to whatever section needs them, so they will have multiple profiles throughout the hosptial. Being a military hospital some of our docs/nurses are TDY (sent...
ok, I want to replace the $ in this string with nothing. So I wrote this little test script and it doesn't work. I'm sure it has something to do with the $ because when I tell it to replace the 2 with nothing it works. Any ideas?
<?
$price ="\$1234";
$repl ="";
$hjk =...
I need to remove the $ and , and any white space from a text field. Anyone got a quick and easy fix? Thanks a million.
Jewel
http://www.scriptchick.com/
When faced with a decision, always ask, 'Which would be the most fun?'
I have a variable $username it contains data such as 'jewel'
I need it to contain just jewel so anyone got a quick fix for me?
http://www.scriptchick.com/
When faced with a decision, always ask, 'Which would be the most fun?'
ok, nevermind. After some playing I figured it out.
FYI: Add this line after the remove statment.
$users->update
or die("$0: There was a problem updating .\n");
http://www.scriptchick.com/
When faced with a decision, always ask, 'Which would be the most fun?'
Link to module: http://search.cpan.org/~oevans/RADIUS-UserFile-1.01/UserFile.pm
I finished the portion of my code that searches the user file and if the user isn't it in adds a new one. Not to difficult using this module. However, when I get to the remove portion, it doesn't seem to work...
I'll have to look into the shell history file. Hadn't heard of that before. Thanks guys.
http://www.scriptchick.com/
When faced with a decision, always ask, 'Which would be the most fun?'
I need some help getting started on a script. I need perl to watch the command line of a linux server and look for a certain string. Anyone point me toward something that will watch the command line???
http://www.scriptchick.com/
When faced with a decision, always ask, 'Which would be the most...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.