Apparently, the USPS is implementing some new form of API for their Domestic and International Shipping Quotes - which I haven't heard much complaining about, even though it seems much more complex and involves actually knowing the dimensions of your package before getting an accurate quote. Anyone heard anything on it, or found their own solutions?
I have a form with 3 buttons: addrecord, retrieverecord, displayalldata. I have functions defined for each of those buttons. i.e. function addrecord, function addretrieve record.
However whenever I click the buttons nothing happens. I guess it's supposed to jump to another form where those functions are used but I'm not sure. I've only been using php for a month..Basically my problem is that my buttons don't do anything. Can someone please help me resolve this? Thank you :)
Hi, I'm new here but I hope I can get some help anyway...
I have a big problem. I do webdesign and one of my sites got hacked today. The web hotel tells me that there is a "security risk" in my index.php file. I can only assume that it's the php-part of the file. The problem is, I don't know much about PHP really - the php I do have was written with someone else's help.
So, I'm going to ask you if you can help me.
The PHP-part in the header is:
$sidan = $_GET['link'].'.php';
if ($sidan==".php") { $sidan = "start.php"; }
//print $sidan; ?>
The PHP-part in the body is:
As several of my sites are built on this string of PHP, this really sucks... the web hotel has closed down the site that got attacked. If anyone can help me, I'll be forever thankful... my own website is built up the exact same way if you want to check out the code there.
Moderator, if this isn't allowed on this forum just let me know.
I get a lot of emails daily for various web dev and programming positions available. I found a good job, but I keep my resume up. Ya never know.
Just feel guilty constantly deleting them when I know someone may need them. Figured I'd at least post them for any coder friends that may be looking for something. I lj-cut it so it wouldn't be too obtrusive.
If these are just found to be crap, let me know and I'll stop passing them on. But some of them at least appear to have potential. They're all fresh over the past 24 hours.
To whoever is currently looking, hope these help! If it's ok, I'll send periodic digests of these if anyone finds them worthwhile.
Hello,
I came across your resume and would to speak with you in regards to 2 immediate Cold Fusion needs in the Radford, VA areas.
Here are the details.
We need people onsite! 40 hour work week schedules
Location/Address: Radford, VA (Southwestern VA)
Start Date: ASAP
Drop Dead Start Date: ASAP
Project End date: N/A
# Of resources need for role: 1
Position Title: ColdFusion Software Engineer
BE Level/ Job classification: Consultant
Required Skill Set (Yrs Exp):
SKILLS: ColdFusion software developer with experience leading the development of software modules.
EXPERIENCE: Proven experience analyzing system requirements, guiding overall application development and individual module development. Direct involvement in application development, maintenance and operations of an application environment involving Microsoft SQL Server back-end with Macromedia ColdFusion middleware running on Microsoft IIS webservers.
Specific education and experience requirements include: 1. Minimum 4-year technical degree in Computer Science, Information Technology, or related field from accredited institution 2. Minimum 1 year general programming experience and an additional 1 year experience in web-based application development 3. Minimum 1 year experience with design, development and maintenance of ColdFusion-based online software applications 4. Practical experience in MS SQL Server (v7 or higher) database design, operations, and maintenance involving extensive structured query language (SQL) usage and development of complex queries and procedures 5. Practical experience with MS SQL Server (v7 or higher) database administration 5. Must be a US Citizen 6. Prefer current active Department of Defense (or capable of attaining) Secret Clearance
Preferred Skill Set
Will also consider candidates with Java and JSP experience.
Job#2
Location/Address: Radford, VA (Southwestern VA)
Background of Project:
Start Date: ASAP
Drop Dead Start Date: ASAP
Project End date: N/A
# Of resources need for role: 1
Position Title: Web Page Designer
BE Level/ Job classification: Sr Systems Analyst
Required Skill Set (Yrs Exp):
The candidates we are seeking should be self starters, interested in seeking new ways to help this customer innovate and provide state of the art web design capabilities to DoD customers.
Technical & functional requirements:
- 1-2 years ColdFusion development experience using Version 6.0 or 7.0 (prefer 7.0) - 1-2 years experience with Enterprise level database design including stored procedures and functions. - working knowledge of the Fusebox design methodology, using version 3.0 or higher to develop robust web applications. - proficient with use of Visual Mind software, version 7 - demonstrate ability to elicit requirement definitions from customers, then convert those specifications into realistic software development projects, and further develop a schedule in MS Project for task delegation and performance tracking. - US Citizen
Preferred Skill Set
XHTML or similar browser based scripting development, web services development experience a plus. - Cascading Style Sheet development using CSS v2.0 or later preferred. - Microsoft SQL Server 2000 database design experience preferred.
Please forward me an updated word copy of your resume and give me a call.
Thanks!
Ray Santos | 1-800-627-8323 x9509 | rsantos@mastech.com Mastech | 1000 Commerce Drive Pittsburgh, PA 15275 | Ph:1.888.330.5497 x 9509
Fax: 412-291-3037
Mastech respects your privacy. We will not share your resume or contact details with any of our clients without your consent.
Greetings!!!!!!
VIVA USA INC., (www.viva-it.com) is an IT consulting firm headquartered in Rolling Meadows , IL servicing clients nationwide. We specialize in IT, telecom, engineering Staffing Solutions and system integration
Please respond with your word document résumé, hourly rate, availability, visa status and relocation details to. recruit07@viva-it.com. One of our recruiters will get back to you ASAP. Kindly find below the job description.
POSITION : Web Designer
LOCATION : Columbia , SC
DURATION : 6 Months
Job Description : To create a new web site to replace the old web site.
Required Skills: Web Developer, Web Site Design, Dreamweaver
Optional Skills: .Net, XML
Sukanya
Viva USA INC, Chicago IL
Phone: 847-448-0727 Ext 207
Fax: 847-483-1317
www.viva-it.com
An ISO 9001:200 & CMMi M/WBE Company
I saw your resume on Careerbuilder and thought you may be interested in this opportunity. BMW Manufacturing is looking to hire a Web developer for some contract work in their Greer, SC plant. I’ve included the details below. If you are interested, or know someone who may be, please contact me ASAP. I look forward to hearing from you soon.
Sincerely,
Aaron C. Fisher Sr. Account Representative Information Technology Division Greytree Partners, LLC
Entry Level – Web Developer Opportunity at BMW Manufacturing in Greer , South Carolina Client: BMW Manufacturing Job Title: Web Developer / Designer Assignment Length: 3 to 4 Weeks Shift: 1st / Full time Responsibilities: Update / refresh current departmental web content. Evaluate simple content management alternatives. Start Date: 23 April 2007 Estimated End Date: 31 May 2007 Required Skills: HTML Pre-Employment: Drug screen, background check (no education required).
I have an exciting opportunity available for a PHP developer. I know the location may not be ideal but I felt it would be worth a look.
Location: Las Vegas, NV
Length: Contract to Hire/Direct Hire
Rate: Depends on experience
Required Skill Set:
Extensive advanced PHP experience Back end PHP programming experience Experience with PHP 5 Experience with MySQL Strong understanding of advanced Object Oriented Programming principles is a must
For further consideration, please email your resume in Word format to cwander@yorksolutions.net.
Thank You!
Christi Wander York Enterprise Solutions cwander@yorksolutions.net
Good afternoon,
I came across your resume today on Monster.com and I have a position available that your skill set seems to match quite well. We are looking for a L.A.M.P. (Linux, apache, MySql, PHP) Developer candidate for a full time permanent opening in Toledo . This position is available with a great Online Bill Payment company, headquartered in Toledo and Washington D.C. This position is looking to go permanent in the 35 – 50K range, dependent upon experience. Ultimately, we are looking for someone with at least 3-5 years experience; comfortable in a lead type of role. If you are interested in discussing this opening with me, please feel free to email or call me at your earliest convenience.
I look forward to speaking with you soon,
Carl
Carl Saad Manager of Branch Recruiting T 734-462-9505 F 734-462-6443 csaad@otterbase.com www.otterbase.com
Hello! My name is Kristie Butler and I work for Procom Services, an IT Staffing Company. I am currently seeking a Web Designer for a 6 month contract position based in Columbia, SC. This position requires the following:
The client is lookikng to create a new web site to replace the old web site. They are a Windows Department and they are looking for a public and private side (logon) in Web site. This will be a temp position, possible temp to hire position.
Required Skills:
Web Developer Web Site Design Dreamweaver Organizational Skills Written Communication Skills Adobe Photoshop Windows XP .Net XML
If you feel you possess these skills and you are interested in this position, please send a current word document of your resume to kristieb@procomservices.com.
Hello! I have an idea how this is supposed to work but not really.
I have to create a function (authenticateform function)where a user will enter their username and password and then click a connect button which takes them to the main menu form. The username and password need to be kept from one web page to the next so we have to save them in 2 hidden variables at the end of each form. We have to retrieve the variables at the start of each form. We have to use 2 reusable routines.
SaveUserNameAndPassword Function: save the username and password in 2 hidden variables ie two
Normally I try to help with simple scripts when i can here and there, but recently, i've been trying a new endeavor: a replacement to the crappy Java-based IRC clients, and instead, writing my own SAJAX/phpIRC (both APIs) client so I have the freedom and breathing room of PHP scripting rather than the comparitively limited scripting language of mIRC.
I'm getting hung up though... and it's in my processing call where I intake data from the user, and then either do something with the client, or inject data to the server. It takes 1 command, 1 command only, and then stops responding to me, but continues to read from the server just fine. Here's the snippet of code that does the processing, down to the INIT for the actual starting of the processing loop.
function onping($code,$nick,$ident,$host,$dest,$data) { unset($input); if ($input=file("ircinput") && $input[0]!=NULL) { //print_r($input); foreach ($input as $num => $indata) { if ($indata == NULL) { return; } chop($indata); $command=explode(" ",str_replace("\r","",$indata)); echo "{$command[0]}\n"; if ($command[0] == "/join") { if (irc_join($command[1], $command[2])) $curchan=$command[1]; } if ($command[0] == "/msg") { $msg=getfrom($command," ",2); irc_privmsg($command[1], $msg); } if ($command[0] == "/notice") { $msg=getfrom($command," ",2); irc_notice($command[1], $msg); } if ($command[0] == "/me" && $curchan) { $msg=getfrom($command," ",2); irc_action($curchan, $msg); } if ($command[0] == "/kick" && $curchan) { $msg=getfrom($command," ",2); irc_kick($curchan, $command[1], $msg); } if ($command[0] == "/quit") { $msg=getfrom($command," ",1); irc_disconnect($msg); } if ($command[0][0] != "/" && $curchan) { irc_privmsg($curchan, $indata); } } unset($input); file_put_contents("ircinput", ""); } usleep(250000); irc_ctcp_ping($username); usleep(250000); irc_idle(IRCCB_ONCTCPPING); }
if (!irc_init()) { die("IRC API Init error!"); } irc_change_nick($username); if (!irc_connect($address,$port)) { die("IRC Connection failed."); }
If anyone can help me unstick this thing, it'd be much much appreciated. PHP 5.2.1
Oh, and I forgot to mention, the getfrom(&array $array, string $reconstruct_using, int $reconstruct_from) function, is a little function I wrote to recontruct a string from $array, using the data from $reconstruct_from onwards in the $array, combining them using $reconstruct_using.
function getfrom($array,$use,$from) { while ($from != 0) { array_shift($array); $from--; } return implode($use,$array); }
I wanna use preg_replace to get rid of any "empty" HTML tags (ie.
, but it could also be a div, header tag, etc.). So, it would need to be in the format of opening tag, then any amount of white space followed by the close tag, rendering it pointless (unless I'm forgetting any tags that should be empty and aren't self closing).
So anyway, is any one talented and bored enough to right the regex for me? Cookies and love for any one that tries. Thanks!
// create strings from the template arrays $html = join("", $html); $email = join("", $email);
// if the submission fails, print an error msg if(!mail($to, $subject, $email, $headers, "From: $from")) { echo "Error: Your mail was not sent. Contact the webmaster for help.";
I had a big long report that I printed to the screen. It was a foreach loop that went through an associative array of database results and put them in a table. It looked crappy at first. This is what I had at the beginning:
foreach($foo as $a => $b) { print '
'; print '
'.$b['stuff'].'
; print '
'.$b['stuff'].'
; print '
'.$b['stuff'].'
; print '
'; }
As you can see it was pretty simple, and as you can imagine very plain. I needed to number the list.
$i = 0; foreach($foo as $a => $b) { $i++; print '
'; print '
'.$i.'
; print '
'.$b['stuff'].'
; print '
'.$b['stuff'].'
; print '
'.$b['stuff'].'
; print '
'; }
That took care of the numbered rows. I thought that it would be easier to use if every other row was a diff. color. I first tried to use modulus to get the remainder of $i when divided by 2. If there was a remainder, then that row was odd. That was my thinking - but it didn't work. I found this solution (that was easy) on php.net.
I have a client that may need to have a text message interface with their website. What would type of system would we need to receive and send text message in a format that I can work with in php/mysql etc
I'm having trouble installing some PECL modules (fileinfo and memcache, for use with Horde). I run "pecl install fileinfo" or even just "phpize fileinfo" and it fails. The error messages are:
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable is set correctly and then rerun this script.
I know the PHP_AUTOCONF variable is empty because I echo it and get a blank line. Where is autoconf, and where would I set the variable? I'm using my own installation of PHP5 on Dreamhost.
Also, when I run the install (an not just phpize), it complains:
/home/myid/php5/bin/phpize: /usr/local/tmp/pear/cache/memcache-2.1.2/build/shtool: /bin/sh: bad interpreter: Permission denied
Again, this is on Dreamhost, so I'm not surprised permissions are denied, but is this something I can fix? Can I set the temp directory to something else, can I set /bin/sh to something else?
Can anybody help? I really want to install Horde, and although these are just "recommended" modules, I'd really like to get the root of problem resolved for the future.
I have a question about running PHP as FastCGI server. Usually HTTP server (I use nginx) passes requests to FastCGI server and reads its response. Clear construction. Example configurations found while googling says that it's enough to load 10 or 20 php-cgi children (PHP_FCGI_CHILDREN parameter). But if there are more concurrent connections to your server than PHP_FCGI_CHILDREN, php-cgi just locks on lockf state and drops connection. How can we avoid such dirty behavior? I've thinked about dynamic spawning or external connection queueing (for example via HAProxy), but it's not what I expect of PHP's internal fastcgi server.
I have two tables "Clients" and "ShippingAddresses" that I am trying to join to output two separate form dropdown boxes. Unfortunately I am only now beginning to use the Join command and so I'm running into issues, and could really use some assistance. Below the cut is my old code:
$grabClients = mysql_query("SELECT Client_ID, Client_Company FROM Clients ORDER BY Client_Company ASC") or die(mysql_error());
if (mysql_num_rows($grabClients) == 0) {
$clientList = "";
$shippingList = "";
} else {
$clientList = "";
$shippingList = "";
while ($loopClients = mysql_fetch_array($grabClients)) {
$grabShipping = mysql_query("SELECT Address_ID, Address_Company, Client_ID FROM ShippingAddresses WHERE Client_ID = '$loopClients[Client_ID]' ORDER BY Address_ID ASC") or die(mysql_error());
if (mysql_num_rows($grabShipping) == 0) {
$clientList .= "";
} else {
$clientList .= "";
$shippingList .= "";
}
}
}
This code, which probably makes many of you cry inside, outputs two variables full of form options. Variable 1 $clientList is just a simple list of clients. Variable 2 $shippingList is a bit more complex in that it shows an OPTGROUP with a label of the Client, and then a listing of all secondary shipping addresses associated with that client.
My attempts at joining were pretty much failures - in two particular areas.
1.) How do I prevent $clientList from outputting duplicate entries for Client names? I have 2 clients and 2 Addresses - both addresses belong to a single client. So on the $clientList it's outputting that client twice.
2.) How do I loop so that for each Address_ID it outputs a new option value? My attempts result in a very odd PHP error about memory limits being exceeded; so I'm sure my loop format is just... broken.
the script itself seems kind of complicated and i'm trying to get it to only output the current condition's image code (i.e. 31.gif, 32.gif)
i've tried hacking at it myself but when i do the script itself doesn't seem to update. this mornign when i went to check it still had the nighttime/moon image on my server.
would anybody mind taking a look at the code? any ideas?
is there a better way to be able to get my weather updates and output the image in the standard format that most docks us as well? (1.gif 2.gif 3.gif etc)
I'm currently attempting to install PHP on my webhost, to support my MediaWiki installation.
Installation script (it had a bunch of other libraries but I took them out as they didn't seem to be problematic, to try and isolate the problem):
#!/bin/sh
# Abort on any errors
set -e
# The domain in which to install the PHP CGI script.
export DOMAIN="mydomain"
# Where do you want all this stuff built? I'd recommend picking a local
# filesystem.
# ***Don't pick a directory that already exists!*** We clean up after
# ourselves at the end!
SRCDIR=${HOME}/source
# And where should it be installed?
INSTALLDIR=${HOME}/php5
# Set DISTDIR to somewhere persistent, if you plan to muck around with this
# script and run it several times!
DISTDIR=${HOME}/dist
# Pre-download clean up!!!!
rm -fr $SRCDIR $DISTDIR
# Update version information here.
PHP5="php-5.2.0"
GMP="gmp-4.2.1"
# What PHP features do you want enabled?
PHPFEATURES="--prefix=${INSTALLDIR} \
--with-gmp"
# ---- end of user-editable bits. Hopefully! ----
# Push the install dir's bin directory into the path
export PATH=${INSTALLDIR}/bin:$PATH
#setup directories
mkdir -p ${SRCDIR}
mkdir -p ${INSTALLDIR}
mkdir -p ${DISTDIR}
cd ${DISTDIR}
# Get all the required packages
wget -c http://us3.php.net/distributions/${PHP5}.tar.gz
wget -c http://ftp.sunet.se/pub/gnu/gmp/${GMP}.tar.gz
echo ---------- Unpacking downloaded archives. This process may take several minutes! ----------
cd ${SRCDIR}
# Unpack them all
echo Extracting ${PHP5}...
tar xzf ${DISTDIR}/${PHP5}.tar.gz
echo Done.
echo Extracting ${GMP}...
tar xzf ${DISTDIR}/${GMP}.tar.gz
echo Done.
# Build them in the required order to satisfy dependencies.
# gmp
cd ${SRCDIR}/${GMP}
./configure --prefix=${INSTALLDIR}
# make clean
make
make install
#PHP 5
cd ${SRCDIR}/${PHP5}
./configure ${PHPFEATURES}
# make clean
make
make install
#copy config file
mkdir -p ${INSTALLDIR}/etc/php5/${DOMAIN}
cp ${SRCDIR}/${PHP5}/php.ini-dist ${INSTALLDIR}/etc/php5/${DOMAIN}/php.ini
#copy PHP CGI
mkdir -p ${HOME}/${DOMAIN}/cgi-bin
chmod 0755 ${HOME}/${DOMAIN}/cgi-bin
cp ${INSTALLDIR}/bin/php ${HOME}/${DOMAIN}/cgi-bin/php.cgi
rm -fr $SRCDIR $DISTDIR
echo ---------- INSTALL COMPLETE! ----------
Death:
Configuring extensions
[...]
checking for GNU gettext support... no
checking for GNU MP support... yes
configure: error: Unable to locate gmp.h
Any ideas? The gmp.h file is right there in the directory where it should be. I'm out of ideas...
I'm looking for a tool to help me diff directories worth of files. Vimdiff works great, except it is cumbersome to compare large numbers of files and directories. Does any editor or tool have this kind of functionality on a large scale?
A few days ago I posted a question about browser redirection in php. The general consensus is that header() works best, and it works perfectly fine.
That's not where this question is heading.
As I stated in my previous post, this is a small project for my mother. She's now decided that instead of this field redirecting, she wants it to open a new window.
Now, if this was just a straight link on a generic web page, I wouldn't have a problem, but like I said in the afforementioned post, the page is selected based off of input from a form.
So my esteemed group of resident genius-people...is there a command that will create a new window?