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...
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...
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...
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?'
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 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...
I need to be able to subtract 12 from the computer name as if they were both numbers but they are not. Make sense?
I have a friend who's done it in VB, but that doesn't help me with the syntax to do it in PHP :)
Thanks for any help.
http://www.scriptchick.com/
When faced with a decision...
I have a registration code that will always look like this.
1000000001-YZKCGXZS-000000000000
what I need to do is store everything on the left of the first dash in varA, everything between the dashes in varB, and everything after the last dash in varC.
The portion at the beginning will always...
I'm trying to do a good deed here and have run straight into a wall. I'm building a website for a church free of charge, they have requested an online e-vite. Where people can fill out a web-based form http://www.livinghope777.org/new_site/evite.php
And the online form will send the message...
I need to get the last four characters of a string and store them in a variable called tax.
the string contains "Dublin0.07"
I want to store the last four characters in a variable named $tax so that $tax = 0.07 I am assuming that the decimal is considered a character.
I found this and it...
Could someone pleae help me to understamd how
ord(7) = 55
I'm just not grasping the ord function.
http://www.scriptchick.com/
When faced with a decision, always ask, 'Which would be the most fun?'
I need to find the code for a Javascript toggle menu. It needs to support multiple levels. For example:
Category Areospace has a list of items under it and each item in the list also has it's own list. When you click on Areospace it opens the main aerospace page and drops down the list under...
Hey guys,
Let me start off by saying I'm not an ASP programmer. Now with that said this is my problem. I need to add code to a form so that when it is submitted it emails a short message to one individual. I know the PHP code for this, but that doesn't help me. Just looking for something...
How can I change the following code so that it opens in the same page and not a new one. I'm sure it's just a change to window.open(url, 'picWindow', 'toolbar=1,scrollbars=1,location=1,statusbar=0,menubar=0,resizable=1,width=700,height=500,left = 162,top = 134').
function go(which, num...
Hey guys,
I have an online application that a customer says he must have emailed to him (even though I explained the security issue behind that). The form is very long. For some reason when I fill the entire form out it doesn't email to me, but if I just fill out half of it then I get the...
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.