Home > Ask the AS/400 Experts > iSeries PC/Windows Connectivity Questions & Answers > Send parameters correctly to the browser when creating a PHP page
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Send parameters correctly to the browser when creating a PHP page

Shahar Mor EXPERT RESPONSE FROM: Shahar Mor

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site


iSeries news and advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 06 November 2008
I have created a PHP page that I need to display on Internet Explorer. I can get the screen to pop but I cannot get all of my parameters to be sent to the browser. I am using the STRPCCMD command and recognize the limitation of 123 bytes.

My command is as follows:

STRPCCMD START
HTTP://DEV:89/DEV/PROJECT13103/CUST_CNTCT_ENT.PHPcmp=333&ord
=12226400&cst=6827228&shp=1&usr=LMORGAN&ssn=EILMORGA1
Only the first parameter is received. Can you tell me what is wrong?

>
Although there is a limitation to STRPCCMD, you did not reach this limit yet. Is this link working correctly as a simple URL (i.e not via STRPCCMD but via typing the URL directly to the browser)?

If it works with a direct URL then I can only assume something is wrong with the & tag. Try to define the variable in the PHP that is combined and work with it to phrase in the PHP script. For example:

http://dev:89/dev/cust.php?mydata=333,12226400,687228,1,morgan etc..


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
iSeries PC/Windows Connectivity
How to print RPG output using iSeries Access
How to view source files in the library
User being locked out by Windows share on iSeries
Blocking AS/400 DB2 users
Trouble accessing IFS path from Win2k3 server
How to use an API for adding users to EIM SSO implemenation
Incorrect CCSID on FTP connection from AS/400 to Windows
Remove character limits from domain or users on RMTUSER
Generically send a text file from the IFS via FTP
Automate Client Access to find files on Windows scheduler

Web-enabling
Legacy AS/400 and new IBM i products both featured at COMMON
Search400.com Products of the Year 2008
Application modernization for the iSeries: Why bother?
Using WebSphere information integrator to access MS server data using SQLRPGLE
Application modernization strategies for System i
Natively supported Web applications for Power running i
Lazy coder: What does PHP on the i5 mean?
SOA for the Business Developer -- Chapter 2
Antiquated iSeries ERP module gets Web overhaul
WebSphere Application Server: Step by Step -- Chapter 2

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
WebSphere Development Studio Client (WDSC)  (Search400.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts